Which command gives the desired output?

View the Exhibit.

The user smith needs to display the MAC address only of eth0.
Which command gives the desired output?

View the Exhibit.

The user smith needs to display the MAC address only of eth0.
Which command gives the desired output?

A.
ifconfig eth0 | awk ‘/eth0/ {print $0}’

B.
/sbin/ifconfig eth0 | awk ‘/HW/ {print $4}’

C.
/sbin/ifconfig eth0 | awk ‘/HW/ {print $5}’

D.
/sbin/ifconfig eth0 | awk ‘/eth0/ {print $4}’

Explanation:



Leave a Reply 0

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