Open main menu

CDOT Wiki β

Changes

Tutorial10: Shell Scripting - Part 1

22 bytes removed, 09:27, 5 March 2021
Main Objectives of this Practice Tutorial
<br>
===Main Objectives of this Practice Tutorial===
 
:* List rules for naming a Bash script file.
:* Explain the purpose of the '''she-bang line''' contained at the top of a shell script.
:* List rules for naming a Bash script file. :* Explain how to set Set '''permissions''' and how to '''execute''' a shell script.
:* Explain the purpose of Use '''environment''' and '''user-defined''' variablesin shell scripts.
:* Explain the purpose of Use '''control flow statementsCommand Substitution'''.and '''Math Operations''' in shell scripts
:* Explain the purpose of the '''$?''' exit status and the '''test''' command.
:* Explain the purpose and usage of the Use '''if''' and '''if-else''' logic statementsin shell scripts.
:* Explain the purpose and usage of the Use a '''for''' loop statementwith a list in shell scripts.
<br><br>
13,420
edits