Posted By

deanhouseholder on 04/16/13


Tagged

Shell Bash root


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Nix


Check to see if the user running the script is root


 / Published in: Bash
 

If you have a script that must be run as the root user, put this at the top:

Report this snippet  

You need to login to post a comment.