1. Each entry in a crontab must end with what character?
A) A. Tab B) B. Space C) C. Backslash D) D. Newline
2. To prevent a specific user from scheduling tasks with at, what should the administrator do?
A) A. Add the specific user to /etc/at.allow file. B) B. Add the specific user to [deny] section in the /etc/atd.conf file. C) C. Add the specific user to /etc/at.deny file. D) D. Add the specific user to nojobs group. E) E. Run the following: atd --deny [user].
3. Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?
A) A. 0 * * * 30 myscript B) B. 30 * * * 6 myscript C) C. 30 0 * * 0 myscript D) D. 30 0-23 * * 0 myscript E) E. 0 0-23 * * 30 myscript
4. Which of the following files assigns a user to its primary group?
A) A. /etc/pgroup B) B. /etc/shadow C) C. /etc/group D) D. /etc/passwd E) E. /etc/gshadow
5. Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program toPortuguese (pt)?
A) A. export LANGUAGE='pt' B) B. export MESSAGE='pt' C) C. export UI_MESSAGES='pt' D) D. export LC_MESSAGES='pt' E) E. export ALL_MESSAGES='pt'
Leave a comment