What are positional parameters?

Tiên Hương

New member
What are positional parameters?
A. special variables for assigning arguments from the command line
B. pattern matching parameters
C. special variables for reading user input
D. special variables and patterns
 
Answer: a
Explanation: Shell scripts can also take input from command line. When arguments are specified with a shell script, they are assigned to certain special variables called positional parameters.
 

Tìm kiếm

Back
Top