Oracle
1Z0-409 · Question #211
View the Exhibit. The user smith needs to display the MAC address only of eth0. Which command gives the desired output?
The correct answer is C. /sbin/ifconfig eth0 | awk '/HW/ {print $5}'. See the full explanation below for the reasoning.
Question
View the Exhibit. The user smith needs to display the MAC address only of eth0. Which command gives the desired output?
Exhibit
Options
- Aifconfig 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}'
How the community answered
(19 responses)- A5% (1)
- B16% (3)
- C74% (14)
- D5% (1)
Community Discussion
No community discussion yet for this question.
