Changes

Jump to: navigation, search

OPS245 Lab 4

4 bytes added, 14:09, 29 January 2021
m
Using getopts Function & case statement
<br>
&#35; Make certain user is logged in as root<br>
if [ $USER (whoami) != "root" ]<br>
then<br>&nbsp; &nbsp;echo "Note: You are required to run this program as root."<br>
&nbsp; &nbsp;exit 1<br>
932
edits

Navigation menu