13,420
edits
Changes
→Using Variables in Shell Scripts
'''Positional Parameters'''
A positional parameter is a variable within a shell program; �its its value is set from an argument specified <br>on the command line �that that invokes the program. �Positional parameters are numbered and are referred to �with with a preceding "$": $1, $2, $3, and so on.
There are a few ways to assign values as positional parameters:�Use the set command with the values as argument after the set command�command
Run a shell script containing arguments