Changes

Jump to: navigation, search

Tutorial12: Shell Scripting - Part 2

6 bytes added, 09:29, 29 July 2020
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>
# Issue the following linux command to add execute permissions for your shell script:<br><span style="color:blue;font-weight:bold;font-family:courier;">chmod u+x for-5.bash</span><br><br>
# Run your shell script by issuing: <span style="color:blue;font-weight:bold;font-family:courier;">./for-5.bash</span><br><br>What do you notice? Does the output for this shell script differ than for-4.bash? Why?<br><br>The last thing in this section is to introduce you to '''error-checking'''.<br><br>
# x
13,420
edits

Navigation menu