Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
16 Cards in this Set
- Front
- Back
Which -crontab- option should you use to edit the contents of the crontab file for the current user?
|
?
|
|
Which of the following statements best describes the effects of having only the gshant user account listed in the /etc/at.allow file?
|
- Only root can use the -at- command
- All users but gshant can use the -at- command - Only gshant and root can use the -at- command - Only gshant can use the -at- command |
|
Which of the following commands removes a job from the -at- queue (seleect 2)
|
atq
at -d at -f at -l atrm |
|
Which command should you use to list the tasks in the -at- queue from the current user?
|
?
|
|
You want to keep the gshant user from editing his respective crontab file in the /var/spool/cron, but still allow all other users on the system to edit their respective crontab file. Which file should you edit?
|
?
|
|
After logging in as root, you need to manage the crontab files for your Linux system. Which command should you use to edit the crontab file for the gshant user account?
|
vi /etc/crontab
crontab -ue gshant crontab -ur gshant crontab -ul gshant |
|
You want to keep the gshant user from using the -at- command, but still allow all other users to use it. Which file should you edit?
|
?
|
|
Which crontab option should you use to display the contents of the crontab file for the current user?
|
?
|
|
Which command should you use to remove tasks 2 and 3 in the -at- queue?
|
?
|
|
What file should you edit to schedule to execute every week on Saturday?
|
/etc/cron.daily
/etc/cron.hourly /etc/cron.weekly /etc/cron.monthly |
|
You are editing the crontab file and want an entry to run every hour at five minutes past the hour. Which will accomplish this?
|
5**** /home/emmett/example.sh
*5*** /home/emmett/example.sh **5** /home/emmett/example.sh ****5 /home/emmett/example.sh |
|
Which command could you use to verify if a crontab file exists for the user thobbs?
|
crontab -r -u thobbs
crontab -a -u thobbs crontab -l -u thobbs crontab -r -u thobbs |
|
Which directory will hold the crontab file for the gshant user account?
|
?
|
|
Which file should you edit if you want to permit specific users to edit their respective crontab file, but deny all other users on the system from editing their crontab file?
|
/etc/crontab
/etc/cron.allow /etc/cron.deny /etc/cron.permit |
|
What daemon must be running if you want to use the -at- command?
|
atm
atd atq crond |
|
You want the cron process to run a particular application only on Friday and Saturday of each week. Which entry should you place in the fifth field of the crontab entry?
|
Sat+Sun
5,6 5+6 Saturday, Sunday |