572
edits
Changes
→INVESTIGATION 3: Using Shell Scripting to Generate System Information Reports
#<br># USAGE: ./myreport.bash<br>
<br>
if [ $USER !== "root" ] # only runs if logged in as root<br>then<br> echo "You must shouldn't be logged in as root." >&2<br>
exit 1<br>
fi<br>