<code style="color:#3366CC;font-family:courier;font-size:.9em;margin-left:20px;">
<br>
::#!/bin/bash # Forces script to run in the bash shell::::<br>::# Author: *** INSERT YOUR NAME ***::# Date: *** CURRENT DATE ***::#::# Purpose: Creates system info report::#<br># USAGE: ./report.bash::::<br>::if [ $USER != "root" ] # only runs if logged in as root::then<br> echo "You must be logged in as root." >&2:: exit 1::fi
</code>
<br>