13,420
edits
Changes
→Using Variables in Shell Scripts
If using positional parameters greater than '''9''', then you need to include number within braces.<br>Examples: '''echo ${10}''', '''ls ${23}'''
The '''shift''' command can be used with positional parameters to shift positional parameters <br>to the left by one or more positions.
There are a group of special parameters that can be used for shell scripting. A few of these special parameters and their purpose are displayed in the table below.