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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started