Question 6
A system administrator writes the following shell script to test whether a remote host is reachable before initiating a backup process
The command sends 1 ICMP packet to the host 192.0.2.1 All output is redirected to /dev/null The script then prints the exit status of the previous command using $?
If the host is unreachable, what will be the output of the script?
0
1
2
depends