Last active
January 27, 2017 07:49
-
-
Save johnRivs/a95610f497f83803c492742bf0e08515 to your computer and use it in GitHub Desktop.
Show service status after any service command on Ubuntu higher than 15.xx. chmod 700 srv.sh
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/sh | |
service "$1" "$2" | |
service "$1" status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment