Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MFDBS 89 2nd Symposium On Mathematical Fundamentals Of Database Systems Visegrad Hungary June 26 30 1989 Proceedings

Authors: Janos Demetrovics ,Bernhard Thalheim

1989th Edition

3540512519, 978-3540512516

More Books

Students also viewed these Databases questions