ok guys making a brand new script.
now whenever anybody runs that script i want to check one thing. i want to check whether the person running the script is user or is it root. because if it is user the script will do something else and if its root the script will do something else.
but i don't know how to if it is a user or root in my script.
thanks
theitguy
Start Free Trial