Open main menu

CDOT Wiki β

Changes

OPS245 Lab 1

1 byte removed, 14:14, 14 January 2021
m
INVESTIGATION 3: Using Shell Scripting to Generate System Information Reports
&#35;<br>&#35; USAGE: ./myreport.bash<br>
<br>
if [ `whoami` != "root" ] # if not logged in as root<br>then<br>&nbsp;echo "You shouldn't must be logged in as root." >&2<br>
&nbsp;exit 1<br>
fi<br>
572
edits