The /backup/snapshot was changed to the /backup/backup_monday.tgz archive. Which command will now write new or modified files below /home?
A. tar -czf -g /backup/snapshot /backup/backup_monday.tgz /home
B. tar -tz -g /backup/snapshot -f /backup/backup_monday.tgz /home
C. tar -cz -g /backup/snapshot -f /backup/backup_monday.tgz /home
D. tar -cz -newer /backup/snapshot -f /backup/backup_monday.tgz /home
Which parts can be combined in the syslog-ng configuration file (/etc/syslog-ng/syslog-ng.conf) to specify what information is logged? (Choose 3.)
A. Alerts
B. Users
C. Filters
D. Sources
E. Log Paths
F. Destinations
G. Date and Time
In a terminal window, which command shows you the groups you are a member of?
A. id
B. gid
C. who
D. whoami
You want to create the new user account tux with the password penguin (password hash: TvqBFhQWgeSho) and a default home directory. Which command can be used to create the account with the above parameters?
A. useradd -m -p "penguin" tux
B. echo penguin | useradd -m -p - tux
C. useradd -m -p "TvqBFhQWgeSho" tux
D. echo -e "penguin\npenguin" | passwd tux ; useradd -m tux
Where can you set global shell environment variables for all users independent of their shell?
A. /etc/profile
B. /etc/profile.all
C. /etc/bash.local
D. /etc/bash.bashrc
Which key combination can you use to stop a process that runs in the foreground?
A. Ctrl +X
B. Ctrl +Z
C. Ctrl + Alt + X
D. Ctrl + Backspace
Within less, how do you search for a string downwards from where the cursor is positioned?
A. \string
B. ?string
C. /string
D. =string
Which command displays the value stored in the $MYVAR variable?
A. less MYVAR
B. cat $MYVAR
C. echo MYVAR
D. echo $MYVAR
Suppose you change from your current runlevel 5 to the new runlevel 3. Which statement is correct?
A. Nothing will happen at all.
B. If there is a K* link for a certain service in /etc/init.d/rc5.d/ but no corresponding S* link I /etc/init.d/rc3.d/ , nothing will happen.
C. If there is no K* link for a certain service in /etc/init.d/rc5.d/ but there is an S* link in /etc/init.d/rc3.d/, the service is started.
D. If there is a K* link for a certain service in /etc/init.d/rc5.d/ and there is an S* link in /etc/init.d/rc3.d/, the service is stopped and started again.
Which command displays cpu and input/output statistics for devices and partitions?
A. siga
B. sitar
C. fdisk
D. lspci
E. iostat
F. hwinfo
G. hdparm