A Linux systems administrator needs to copy the contents of a directory named “working” on the local working system to a folder /var/www/html on a server named “corporate-web”.
Which of the following commands will allow the administrator to copy all the contents to the web server?
Correct Answer:
A
A networked has been crashing intermittently. A Linux administrator would like to write a shell script that will attempt to ping the server and email an alert if the server fails to respond. The script will later be scheduled via cron job.
Which of the following scripts would BEST accomplish this task?
Correct Answer:
D
Which of the following is a difference between YAML and JSON?
Correct Answer:
A
A systems administrator is unable to reach other devices on the network and the Internet. The server is configured with the IP address 192.169.1.50/24 on eth0. The server’s router is 192.168.1.1. The administrator reviews the output of route –n:
Which of the following commands should the administrator run to correct the issue?
Correct Answer:
B
A Linux administrator needs to switch from text mode to GUI. Which of the following runlevels will start the GUI by default?
Correct Answer:
C