13,420
edits
Changes
→Variables / Parameters
<b>User-defined variables</b> are variables that can be used in the shell script for '''customized''' purposes.
<br><br>
Data can be stored and removed within a variable using an '''equal sign''' (no spaces on either side of equal sign).<br><br>The '''read''' command can be used to prompt the user to enter data into a variable. The '''readonly''' command will prevent the current value of the variable for the remainder of the execution of a shell script.<br><br>
'''Positional Parameters and Special Parameters'''