Open main menu

CDOT Wiki β

Changes

Tutorial12: Shell Scripting - Part 2

334 bytes added, 17:07, 18 February 2021
INVESTIGATION 2: ADDITIONAL LOOPING STATEMENTS
# Save your editing session and exit the text editor (eg. with vi: press '''ESC''', then type ''':wx''' followed by '''ENTER''').<br><br>
# Add execute permissions for the owner of this script and run this script.<br>What do you notice? <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/scripts/week12-check-1</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>
:In the next investigation, you will learn to create and test-out the '''~/.bashrc''' start-up file to customize your Bash shell.
13,420
edits