Last active
August 29, 2015 14:26
-
-
Save blindpet/4860f17a680faf88e781 to your computer and use it in GitHub Desktop.
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
sudo stat /proc/1/exe | |
sudo stat /proc/1/exe | grep -i file | awk '{print $4}' | grep 'systemd\|upstart\|init' | |
cut as well http://linuxpoison.blogspot.hu/2012/08/bash-script-string-manipulation-find-cut.html | |
http://unix.stackexchange.com/questions/196166/how-to-find-out-if-a-system-uses-sysv-upstart-or-systemd-initsystem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment