Question: Create a script that will do the following. In every step, use the echo command to notify the user what's going to happen. For example,

Create a script that will do the following. In every step, use the echo command to notify the user what's going to happen. For example, in #1, the user must be informed that the history list will be saved into the file history.log

pwd /root

filename: createfile.sh

1. List and output the history into a file name history.log

2. Create five files using touch command (file1.txt, file2.txt ...)

3. Create a folder name filelist and move all the files created in #2 to this folder.

4. Ask the user for his/her firstname and then lastname. Then output the message, How are you _________?

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!