Changes

Jump to: navigation, search

Tutorial12: Shell Scripting - Part 2

336 bytes added, 08:37, 21 March 2021
INVESTIGATION 3: exit AND break STATEMENTS
# Save your editing session and exit the text editor (eg. with vi: press '''ESC''', then type ''':x''' followed by '''ENTER''').<br><br>
# '''Add execute permissions''' for this Bash shell script.<br><br>
# Issue the following command (with arguments):<br><span style="color:blue;font-weight:bold;font-family:courier;">./break-2.bash hwd101 ipc144 uli101 apc100</span><br><br>What do you notice? Why?<br><br># Issue the following to run a checking script:<br><span style="color:blue;font-weight:bold;font-family:courier;">bash /home/murray.saul/myscripts/week12-check-2</span><br><br># If you encounter errors, make corrections and '''re-run''' the checking script until you<br>receive a congratulations message, then you can proceed.<br><br><br>
: In the next investigation, we will learn to create / modify '''startup files'''<br>to <u>customize</u> your Linux shell environment.
13,420
edits

Navigation menu