Open main menu

CDOT Wiki β

Changes

OPS245 Lab 1

1 byte added, 14:47, 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 must be logged in as root." >&2<br>
&nbsp;exit 1<br>
572
edits