932
edits
Changes
m
→Using getopts Function & case statement
<br>
# Make certain user is logged in as root<br>
if [ $USER (whoami) != "root" ]<br>
then<br> echo "Note: You are required to run this program as root."<br>
exit 1<br>