» Linux » Examen sur Linux » Examen 201 : Advanced Administration » Section 4 » Question 6/20
6.You have written a script called usrs to parse the passwd file and create a list of usernames. You want to have this run at 5 am tomorrow so you can see the results when you get to work. Which of the following commands will work?

at 5:00 wed usrs
at 5:00 wed -b usrs
at 5:00 wed -l usrs
at 5:00 wed -d usrs

Explanation: The 'at' command is used to execute commands at a specified time and optional date. It can contain an optional date, formed as a month and date, a day of the week, or a special keyword (today or tomorrow). An increment can also be specified.

Reference: http://www.oreillynet.com/linux/cmd/a/at.html

Incorrect Answers
B: No options are required to run the script at the specified time. Furthermore, the options should be specified before the time and date, not after them.
C: No options are required to run the script at the specified time. Furthermore, the options should be specified before the time and date, not after them.
D: No options are required to run the script at the specified time. Furthermore, the options should be specified before the time and date, not after them.

« Question 5 Question 7 »