Which of the following scripts would BEST accomplish this task?

Posted by: Pdfprep Category: XK0-004 Tags: , ,

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?

A)

B)

C)

D)

A . Option A
B . Option B
C . Option C
D . Option D

Answer: D

Leave a Reply

Your email address will not be published.