What information can the lspci command display about the system hardware? (Choose THREE correct answers.)
A. Device IRQ settings
B. PCI bus speed
C. System battery type
D. Device vendor identification
E. Ethernet MAC address
When running the command
sed -e "s/a/b/" /tmp/file >/tmp/file
While /tmp/file contains data, why is /tmp/file empty afterwards?
A. The file order is incorrect. The destination file must be mentioned before the command to ensure redirection.
B. The command sed did not match anything in that file therefore the output is empty.
C. When the shell establishes the redirection it overwrites the target file before the redirected command starts and opens it for reading.
D. Redirection for shell commands do not work using the > character. It only works using the | character instead.
Which commands can be used to change a user's account aging information? (Choose THREE correct answers.)
A. usermod
B. passwd
C. chattr
D. chage
E. chsh
What command will generate a list of user names from /etc/passwd along with their login shell?
A. column -s : 1,7 /etc/passwd
B. chop -c 1,7 /etc/passwd
C. colrm 1,7 /etc/passwd
D. cut -d: -f1,7 /etc/passwd
Which of the following are syslog facilities? (Choose TWO correct answers.)
A. local7
B. mail
C. advanced
D. postmaster
E. remote
Which file used by XDM specifies the default wallpaper?
A. /etc/X11/xdm/Xsetup
B. /etc/X11/xdm.conf
C. /etc/X11/xdm/Defaults
D. /etc/X11/defaults.conf
What is the output of the following command sequence?
for token in a b c; do
echo -n "$token ";
done
A. anbncn
B. a b c
C. "a " "b " "c "
D. token token token
E. abc
Which parameter must be passed to ifconfig to activate a previously inactive network interface? (Specify the parameter only without any command, path or additional options)
A. up
Which of the following commands will set the variable text to olaf is home?(Choose two)
A. text=olaf\ is\ home
B. text=$olaf is home
C. $text='olaf is home'
D. text=='olaf is home'
E. text="olaf is home"
Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?
A. sshd
B. ssh-agent
C. ssh-keygen
D. ssh-add