Open main menu

CDOT Wiki β

Changes

Tutorial10: Shell Scripting - Part 1

130 bytes added, 09:24, 25 July 2020
INVESTIGATION 3: USING CONTROL FLOW STATEMENTS IN SHELL SCRIPTS
# 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-2.bash</span><br><br>
# Run your shell script by issuing: <span style="color:blue;font-weight:bold;font-family:courier;">./for-2.bash 10 9 8 7 6 5 4 3 2 1</span><br><br>How does this differ from the previous shell script?<br><br>You will learn in a couple of weeks more examples of using loop statements.<br><br>
# After you complete the Review Questions sections to get additional practice, then work on your<br>online assignment 3.
<br><br>
= LINUX PRACTICE QUESTIONS =
13,420
edits