Changes

Jump to: navigation, search

Tutorial12: Shell Scripting - Part 2

73 bytes added, 08:11, 21 March 2021
INVESTIGATION 3: exit AND break STATEMENTS
# '''Login''' to your matrix account.<br><br>
# Issue a Linux command to <u>confirm</u> you are located in the '''advanced''' directory.<br><br>The '''exit''' statement is used to terminate a shell script.<br>This statement is very useful when combined with logic in a shell script to display <br>a '''message''' if the command was '''not run correctly'''and terminate the running of the shell script.<br><br>The ''exit'' command can contain an argument to provide the '''exit status''' of your shell script(i.e. TRUE or FALSE value).<br><br>
=INVESTIGATION 4: USING START-UP FILES =
13,420
edits

Navigation menu