Changes

Jump to: navigation, search

Tutorial10: Shell Scripting - Part 1

3 bytes added, 09:44, 9 July 2020
Creating & Executing Shell Scripts
First, list the INPUTS into the script (eg. prompting user for data, reading data from file, etc), then listing the expected OUTPUTS from the script. You can then list the steps to process the INPUT to provide the OUTPUT (including file storage).
Once you have planned your shell script by listing the sequence of steps in your script, you need to create a file that will contain your Linux commands. <br>'''NOTE:''' Avoid using filenames of already existing Linux Commands to avoid confusion. Using shell script filenames that include the file extension of the shell that the script will run within is recommended.
'''Using a Shebang Line'''
13,008
edits

Navigation menu