Which of the following commands shows the definition of a given shell command?
A. where
B. stat
C. type
D. case
On a Linux system with shadow passwords enabled, which file in the file system contains the password hashes of all local users? (Specify the full name of the file, including path.)
A. /etc/shadow
Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)
A. shutdown -r now
B. shutdown -r "rebooting"
C. telinit 6
D. telinit 0
E. shutdown -k now "rebooting"
Which shell command is used to continue background execution of a suspended command?
A. and
B. bg
C. cont
D. exec
E. :and
Which of the following commands can remove a user from a group?
A. grouprm
B. groupmod
C. passwd
D. usergroups
E. usermod
Which of the following commands moves and resumes in the background the last stopped shell job?
A. run
B. bg
C. fg
D. back
Which of the following commands is used to rotate, compress, and mail system logs?
A. rotatelog
B. striplog
C. syslogd --rotate
D. logrotate
E. logger
Which command will display the last line of the file foo.txt?
A. head -n 1 foo.txt
B. tail foo.txt
C. last -n 1 foo.txt
D. tail -n 1 foo.txt
What word is missing from the following SQL statement?
__________ count(*) from tablename;
(Please specify the missing word using lower-case letters only.)
A. select
Which of the following is correct when talking about mountpoints?
A. Every existing directory can be used as a mount point.
B. Only empty directories can be used as a mount point.
C. Directories need to have the SetUID flag set to be used as a mount point.
D. Files within a directory are deleted when the directory is used as a mount point.