Shell/Bash: which user apache runs as ubntu Example

By

Shell/Bash Example: This is the "which user apache runs as ubntu" Example. compiled from many sources on the internet by SimpleTutorials.org

which user apache runs as ubntu

ps -ef | egrep '(httpd|apache2|apache)' | grep -v `whoami` | grep -v root | head -n1 | awk '{print $1}'



* Summary: This "which user apache runs as ubntu" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others