Changes

Jump to: navigation, search

OPS235 Lab 1 - CentOS7

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

Navigation menu