13,420
edits
Changes
no edit summary
# Date: *** CURRENT DATE ***<br>
<br>
# Make certain user is logged in as root<br>if [ $PWD USER != "/root" ] # only runs if in root's home directory<br>then<br> echo "Note: You must be in are required to run this program as root's home directory." >&2<br> exit 1<br>
fi<br>
<br>
if [ "$#" -eq 0 ] # if no arguments after command<br>
then<br>