Question 151
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?
Question 152
The following represents a partial listing of a user's .bashrc file:
HISTSIZE=800
HISTFILESIZE=1000
umask 2002
HISTCONTROL=ignoreboth
When the user opens a terminal, an error message appears:
Octal number out of range
Which of the following lines in the partial .bashrc should be modified to prevent the error from occurring?
Question 153
An administrator needs to mount the shared NFS file system testhost:/testvolume to mount point /mnt/testvol and make the mount persistent after reboot.
Which of the following BEST demonstrates the commands necessary to accomplish this task?
C)
D)
Question 154
An administrator needs to deploy 100 identical CentOS workstations via PXE boot. Which of the following should the administrator use to minimize the amount of interaction with the consoles needed?
Question 155
A Linux administrator retrieved a repository of files from a Git server using git clone. The administrator wants to see if a configuration file was added to the repository. Which of the following Git arguments should be used to see the recent modifications?
