Open main menu

CDOT Wiki β

Changes

Tutorial10: Shell Scripting - Part 1

18 bytes added, 10:13, 14 March 2021
Creating & Executing Shell Scripts
===Creating & Executing Shell Scripts===
It is recommended to '''plan''' out on a piece of paper the purpose of the shell script.<br>Once you have planned your shell script by listing the '''sequence of steps(commands)''',<br>you need to create a file (using a '''text editor''') that will contain your Linux commands.<br><br>'''NOTE:''' Avoid using filenames of already existing Linux Commands to avoid confusion.<br>It is recommended to include a file extension that describes the type of shell for the shell script.<br><br>
'''Using a Shebang Line'''
'''
<br><br>
 
===Variables / Parameters===
13,420
edits