Open main menu

CDOT Wiki β

Changes

Tutorial10: Shell Scripting - Part 1

18 bytes added, 15:55, 16 March 2021
no edit summary
<br>
In this sectioninvestigation, you will learn how to create and run a '''Bash Shell script'''.
=INVESTIGATION 2: SHE-BANG LINE / VARIABLES / PARAMETERS=
In this sectioninvestigation, you will add a '''she-bang''' line at the top of your shell script to force the shell script to run in a<br>specified shell when executed. You will also learn how to use '''variables''', '''positional''' and '''special parameters'''<br>to make your shell scripts more adaptable.
=INVESTIGATION 3: COMMAND SUBSTITUTION / MATH OPERATIONS=
<br>
In this sectioninvestigation, you will learn how to use '''command substitution''' and '''math operations''' in your shell scripts.
13,420
edits