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

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:00
Which virus-infecting components are email messages prone to carry? one of the problems associated with the use of email communication is that email messages are prone to carry virus-infecting .
Answers: 3
question
Computers and Technology, 22.06.2019 09:40
Sarah is having a hard time finding a template for her advertising business that she may be able to use at a later date and also make it available to her colleagues
Answers: 1
question
Computers and Technology, 22.06.2019 13:30
Write lines of verse that rhyme to remember the following information: acid rain is a type of air pollution caused by chemicals in the air.
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 3
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
question
Mathematics, 25.08.2019 06:50
Questions on the website: 13722367