Changes

Jump to: navigation, search

Tutorial10: Shell Scripting - Part 1

145 bytes added, 11:32, 3 March 2021
INVESTIGATION 3: COMMAND SUBSTITUTION / MATH OPERATIONS
# Issue the following to run the user-variables.bash Bash shell script:<br><span style="color:blue;font-weight:bold;font-family:courier;">./dog-years.bash</span><br><br>Enter you age to see what happens.<br><br>
# Issue the following Linux command to run a checking script:<br><span style="color:blue;font-weight:bold;font-family:courier;">bash /home/murray.saul/scripts/week10-check-3 | more</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 use control-flow statements to allow your shell scripts to perform differently under different situations.
=INVESTIGATION 4: USING CONTROL FLOW STATEMENTS =
13,420
edits

Navigation menu