Changes

Jump to: navigation, search

Tutorial12: Shell Scripting - Part 2

7 bytes added, 07:52, 18 March 2021
EXIT & BREAK STATEMENTS
'''<span style="font-family:courier;font-weight:bold;">exit</span> Statement'''
The '''exit''' statement is used to '''terminate''' a shell script.<br>This statement is very useful when combined with logic in a shell script. <br>The exit command can contain an argument to provide the exit status of your shell script.
''Example:''
13,420
edits

Navigation menu