Which two commands display the IP address of the remotehost system, assuming the local system only uses local files for hostname lookups?

Which two commands display the IP address of the remotehost system, assuming the local
system only uses local files for hostname lookups? (Choose two.)

Which two commands display the IP address of the remotehost system, assuming the local
system only uses local files for hostname lookups? (Choose two.)

A.
netstat -rn |grep remotehost

B.
getent hosts remotehost

C.
arp -a |grep remotehost

D.
ypcat hosts |grep remotehost

E.
grep remotehost /etc/inet/hosts



Leave a Reply 0

Your email address will not be published. Required fields are marked *