Computers and Technology

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).

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 13:30, morganwendel126
Use the keyword strategy to remember the meaning of the following word. the meaning for the word has been provided. write your keyword and describe the picture you would create in your mind. centurion: a commander in the army of ancient rome. keyword: picture:
Answers: 2
image
Computers and Technology, 23.06.2019 13:00, alexacarillo
In excel - calculate the actual increase/decrease from first quarter to the second quarter then subtract subtract first quarter value from second quarter total then divide result by first quarter value
Answers: 1
image
Computers and Technology, 23.06.2019 21:20, FlowerChild1229
For positive constants a and b, the force between two atoms in a molecule is given f(r) = โˆ’a r2 + b r3 , where r > 0 is the distance between the atoms. note: a and b are upper case letters. (a) find f '(r) = (b) find the critical point for f(r). r = (c) find f ''(r) = (d) find the value of r so that f ''(r) = 0.
Answers: 1
image
Computers and Technology, 24.06.2019 01:00, cheycheybabygirl01
How can the temperature of a room be raised by 5degreesf?
Answers: 1
Do you know the correct 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, 17.12.2020 20:20