Open main menu

CDOT Wiki β

Changes

OPS235 Lab 4

21 bytes removed, 15:42, 9 October 2019
Using getopts Function & case statement
#Open a shell terminal, and login as root.
#Change to the '''/root/bin''' directory.
#Download, study, and run the following shell script. Issue the command:<br><b><code><span style=" pointer-events:none;cursor:default;color:#3366CC;font-size:1.2em;">wget https://ict.senecacollege.ca/~ops235/lab4/user-create.bash</span></code></b>
#Try to understand what these Bash Shell scripts do, and then run the script as root to create just one user called '''test'''. After running the shell script, view the contents of the '''/home''' directory to confirm.
572
edits