Question: 2. Write a bash script that (1) prompts the user to enter a Linux command and reads in the user's input, (2) prints out a

2. Write a bash script that (1) prompts the user to enter a Linux command and reads in the user's input, (2) prints out a meaningful message with the user's entered command to be executed, and finally (3) executes the user's entered command. The Linux command is to be read in, not passed as a command-line argument. This bash script should be called rec04B.sh. SAMPLE OUTPUT (input in bold green): ./ Enter Linux command to perform: ls Command to be executed: 1s a.out Lab01A. Lab02B.sh minorl.c minor2.c rec04B. sh
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
