Question: Create a directory in /home/[username] called Mini2 2. Create a script file called script1.sh 3. Edit the script1.sh file to execute the following: Prompt

Create a directory in /home/[username] called Mini2 2. Create a script file 

Create a directory in /home/[username] called Mini2 2. Create a script file called script1.sh 3. Edit the script1.sh file to execute the following: Prompt the user for their username Display "Hello [username], welcome to your Virtual Machine." 4. Test the script by running it with the username of TestUser 5. Run script1.sh again and send the outputs of the script to a file called login.txt

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!