Question: In vim create the file uon.sh. For the second and third comment lines insert your name and date. The lines that contain #... are comments

In vim create the file uon.sh. For the second and third comment lines insert your name and date. The lines that contain #... are comments to the program, Replace the ??? with your comments explaining what happens in that line of the program. Submit the program with your name using the following command:

wmorales@syccuxfs01:~> cat uon.sh

#!/bin/bash # Your Name # Date #uon.sh: this program will ???????? until who | grep "$1" > /dev/null #?????????? do sleep 30 #?????????? done echo "$1 is logged on." exit 0

After replacing the question marks with your explanation, test it. Make a copy named uon.sh.txt, convert it to DOS format using the command unix2dos, transfer it to your computer using psftp or filezilla.

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!