572
edits
Changes
m
→INVESTIGATION 3: Using Shell Scripting to Generate System Information Reports
#<br># USAGE: ./myreport.bash<br>
<br>
if [ `$(whoami` ) != "root" ] # if not logged in as root<br>
then<br> echo "You must be logged in as root." >&2<br>
exit 1<br>