What word will complete an if statement in bash such as the following: if [ -x "$file" ]; then echo $file ______
(Please provide the missing word only)
A. fi
What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)
A. xorg.conf
What is the purpose of the xhost program?
A. Grant or revoke access to a X11 session.
B. Install all packages and video drivers required to run X11 on a host.
C. Start the X11 server and announce its availability within the local network.
D. Send informational messages to all users logged into a host using X11.
E. Display the MOTD and other important information when a user logs in via X11.
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 lines are valid in the file /etc/hosts? (Choose TWO correct answers.)
A. 2001:db8::15 www.example.com www
B. www.example.com www 203.0.13.15
C. 203.0.113.15 www.example.com www
D. www.example.com,www 203.0.13.15,2001:db8::15
E. 2003.0.113.15,2001:db8::15 www.example.com www
What is the lowest numbered unprivileged TCP port? (Specify the number in digits only.)
A. 1024
Which keyword must be listed in the hosts option of the Name Service Switch configuration file in order to make host lookups consult the /etc/hosts file?
A. files
What is the purpose of the dig command?
A. It can be used as a tool for querying DNS servers.
B. It can be used for searching through indexed file content.
C. It can be used to look for open ports on a system.
D. It can be used to ping all known hosts on the current subnet.
Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose TWO correct answers.)
A. ssh --port 2222 example.com
B. ssh -p 2222 example.com
C. ssh -o Port=2222 example.com
D. ssh -o GatewayPort=2222 example.com
E. ssh example.com:2222
Which configuration file does sudo read when determining if a user is permitted to run applications with root privileges?
A. /etc/security.conf
B. /etc/supasswd
C. /etc/sudoers
D. /etc/sudo.conf