subject

After you are satisfied with your hands-on log session in 8.1, create and execute a bash script using a text editor of your choice that does the following:
scenario: say that you want to check whether a specified user is on the system or, if not, to be informed as soon as the user logs in.
write a script, uon, that will do this for you. in the uon script, use an until loop that will stop as soon as the loop condition is true (i. e. user of interest has logged onto the system). pass the username as a positional argument.
usage: ./uon
write a script called uon that does the following:
lists current dat
displays your username
uses the until loop
determines if a user has logged on
informs you when the user logs in
notes:
run the script in the background so that you can do other work while waiting for user to log on.
include a beep and message to inform you when the user has logged on.
display all standard output to the file, result.
provide a test run that shows a user has logged on (this may even be yourself if need be).

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 17:30, granta1
Write pseudocode to represent the logic of a program that allows the user to enter a value. the program multiplies the value by 10 and outputs the result.
Answers: 1
image
Computers and Technology, 23.06.2019 21:00, shawnnoteman1234
Which task uses a simple parameter?
Answers: 1
image
Computers and Technology, 24.06.2019 00:30, Auttyrain3929
Afiling system in which an intermediary source of reference, such as a file card, must be consulted to locate specific files is called a(n) system. a. shelf filing b. direct filing c. indirect filing d. shingling
Answers: 1
image
Computers and Technology, 25.06.2019 08:00, india73
When date is processed into a meaningful form, i becomes
Answers: 1
You know the right answer?
After you are satisfied with your hands-on log session in 8.1, create and execute a bash script usin...

Questions in other subjects:

Konu
Mathematics, 05.04.2020 07:04
Konu
Business, 05.04.2020 07:05