how do I make sure that the user that is going to run the script is a root user???
I am writing a script that takes input from one file and processes it and then it redirercts the output to a different file.
Now my question is: How can I make sure that the user that is trying to run the script is a root user???
Any help would be greatly appreciated.
|