LPIC-1 Exam 102 v5 (Linux Administrator) — Question 113
Which of the following commands display the number of bytes transmitted and received via the eth0 network interface? (Choose two.)
Answer options
- A. route -v via eth0
- B. ip stats show dev eth0
- C. netstat -s -i eth0
- D. ifconfig eth0
- E. ip -s link show eth0
Correct answer: D, E
Explanation
The commands 'ifconfig eth0' and 'ip -s link show eth0' are the correct choices as they provide detailed statistics about the eth0 interface, including the number of bytes transmitted and received. The other options do not specifically provide this information or are not valid commands for this purpose.