Created
May 17, 2015 11:53
-
-
Save darookee/09b76865731cf5815276 to your computer and use it in GitHub Desktop.
SystemD Replacement for "service --status-all"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # https://www.reddit.com/r/commandline/comments/35zs03/systemd_replacement_for_service_statusall/cr9f13q | |
| for t in $(systemctl --type help | grep -v "^Available"); do | |
| echo -e "\n---------- ${t^^} ----------" | |
| systemctl --all --no-pager --type="$t" --show-types | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment