Open main menu

CDOT Wiki β

Changes

Tutorial12: Shell Scripting - Part 2

103 bytes removed, 08:32, 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 (without with arguments):<br><span style="color:blue;font-weight:bold;font-family:courier;">./break-2.bashhwd101 ipc144 uli101 apc100</span><br><br>When prompted, enter several '''invalid''' and '''valid''' integers that are '''NOT 5''', and then finally enter the value '''5'''.<br><br>What happensdo you notice? Why?<br><br>
=INVESTIGATION 4: USING START-UP FILES =
13,420
edits