PdfPrep.com

Which of the following scripts would BEST accomplish this task?

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

Exit mobile version