Question: Passing Parameters From The Shell Prompt You can also pass parameters to the script from the command line. 1 Parameters are separated by spaces. Parameters
Passing Parameters From The Shell Prompt
You can also pass parameters to the script from the command line.
Parameters are separated by spaces. Parameters containing spaces must be surrounded by quotes.
The interpreter allows for easy access to the first nine parameters in the variables $ through $
Create a copy of the blueandwhite.sh script called colorpass.sh
Modify it so it accepts parameters passed from the shell prompt.
Update setterm and the last echo line to use the provided values.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
