Changes

Jump to: navigation, search

OPS235 Lab 1 - CentOS7

22 bytes removed, 07:58, 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>::&#35; Author: *** INSERT YOUR NAME ***::&#35; Date: *** CURRENT DATE ***::&#35;::&#35; Purpose: Creates system info report::&#35;<br>&#35; USAGE: ./report.bash::::<br>::if [ $USER != "root" ] # only runs if logged in as root::then<br>&nbsp;echo "You must be logged in as root." >&2::&nbsp;exit 1::fi
</code>
<br>
13,420
edits

Navigation menu