Open main menu

CDOT Wiki β

Changes

OPS235 Lab 2 - CentOS7

30 bytes removed, 07:38, 21 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::::::&#35; backupVM.bash::&#35; Purpose: Creates system info report::&#35;<br>&#35; USAGE: ./report.bash::&#35;::&#35; Author: *** INSERT YOUR NAME ***::&#35; Date: *** CURRENT DATE ***::::::if [ $HOME != "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