Which Linux command is used to display the system's network interfaces and their IP addresses? MCQ with Answer and Explanation

Which Linux command is used to display the system's network interfaces and their IP addresses?
A. route
B. ifconfig
C. ip addr
D. netstat
Answer: Option B
Solution (By JKSSB Mock Tests)
ifconfig is older but still common; ip addr from iproute2 is the modern equivalent. Both display interface config.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1
What is the purpose of the Android 'SensorEvent' class?
A. To manage sensors
B. To register listeners
C. To hold data from sensor readings (values, accuracy, timestamp)
D. To calibrate sensors

Correct Answer: Option C


Explanation:
SensorEvent is used in sensor callbacks to provide the sensor data values and metadata.

This question belongs to: Computer Operating Systems
Question #2
In Windows, the 'Snipping Tool' is used for:
A. Editing images
B. Creating GIFs
C. Capturing screenshots
D. Recording screen video

Correct Answer: Option C


Explanation:
Snipping Tool captures screen regions; newer Windows has Snip & Sketch.

This question belongs to: Computer Operating Systems
Question #3
What is the term for the technique where a process is divided into smaller parts and executed in parallel on multiple processors?
A. Batch processing
B. Parallel processing
C. Multithreading
D. Time-sharing

Correct Answer: Option B


Explanation:
Parallel processing uses multiple processors to simultaneously execute multiple parts of a program, improving performance.

This question belongs to: Computer Operating Systems