Question: Need help to solve question 11 please. I need step by step solution with output.(Unix) 10. Within a shell script, use a variable called a

Need help to solve question 11 please. I need step by step solution with output.(Unix)

Need help to solve question 11 please. I need step by step

10. Within a shell script, use a variable called a positional parameter for the first argument on the command line the script was called with. Write and execute a script named first that displays (sends to standard output) the first argument on the command line it was called with. Make sure it runs in bash and has 2 lines minimum of comments about the purpose of the script. Remember to make the file executable. When you run the command, use Hello as your first argument. Show your commands, script and screen output 11. |Write a shell script that copies the file named by its first argument to a file with the same name with the filename extension of.bak. Thus, if you call the script with the argument first (and a file named first exists in the working directory), after the scriptruns you would have two files: first and first.bak. Demonstrate that the script works properly. Show your commands, script and screen output

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!