Open main menu

CDOT Wiki β

Changes

OPS235 Lab 2 - CentOS7

1 byte added, 19:22, 27 April 2015
no edit summary
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<br>fi
</code>
<br>
13,420
edits