Question: Programming in Unix Just need help getting the commands right A script that sets default values Write the basic script - Create a new script,

Programming in Unix

Just need help getting the commands right

Programming in Unix Just need help getting the commands right A script

A script that sets default values Write the basic script - Create a new script, call it script2.sh - The script is to take two arguments, a name and a number - Make the script do this: echo "Hello" $1 " your number is " $2 - Run the script with the arguments joe 42 CS2080002 Programming with Unix Lab 5 Now add the default values - Modify the echo script line to use default values for the name and number - Remember the format for that is: $ vvariable:-default value\} - Set the default values to "anonymous" for name and 9999 for the number

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!