#! /bin/sh case $@ in 'list-units --all') echo "UNIT LOAD ACTIVE SUB DESCRIPTION sockets.target loaded active active Sockets sound.target loaded active active Sound Card swap.target loaded active active Swap LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. xxx loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'."; exit 0 ;; 'list-timers --all') echo "NEXT LEFT LAST PASSED UNIT ACTIVATES Sat 2020-05-16 23:34:57 CEST 20h left Fri 2020-05-15 23:34:57 CEST 3h 39min ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service n/a n/a Thu 2020-03-12 03:09:01 CET 2 months 4 days ago phpsessionclean.timer phpsessionclean.service 2 timers listed."; exit 0 ;; esac echo