nerdexam
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

1Z0-409 question #211 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)
  • A
    5% (1)
  • B
    16% (3)
  • C
    74% (14)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-409 Practice