Created
July 25, 2016 16:31
-
-
Save blues-man/308ea679e64c8d737057e4454601f906 to your computer and use it in GitHub Desktop.
Bulk systemd action
This file contains 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
systemctl list-units -t service --no-legend --full | awk '/template/{print $1}' | sudo xargs systemctl start|stop|reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment