Which Linux command is used to display the system's current network connections and routing tables? MCQ with Answer and Explanation

Which Linux command is used to display the system's current network connections and routing tables?
A. netstat
B. ss
C. All of the above
D. ip route
Answer: Option C
Solution (By JKSSB Mock Tests)
netstat, ss, and ip route provide network connection and routing info; ss is modern replacement for netstat.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
In operating system concepts, what does 'Belady’s Anomaly' describe?
A. A file allocation bug where small files corrupt the master partition table.
B. A phenomenon where allocating more physical memory frames results in an increase in the number of page faults for certain page reference strings under FIFO replacement.
C. A network protocol lockup scenario.
D. A process scheduling glitch where higher priority threads starve indefinitely.

Correct Answer: Option B


Explanation:
Belady's Anomaly shows that for certain page reference streams under the First-In-First-Out (FIFO) replacement scheme, adding page frames increases page faults.

This question belongs to: Computer Operating Systems
Question #2
Which of the following processes is the first user-space process started by the Linux kernel during system initialization, typically having a Process ID (PID) of 1?
A. kthreadd
B. cron
C. init (or systemd)
D. bash

Correct Answer: Option C


Explanation:
The 'init' process (modern distributions use systemd) is the very first process launched by the Linux kernel during boot, and it receives PID 1.

This question belongs to: Computer Operating Systems
Question #3
Which Windows 11 feature allows users to organize open windows into distinct spatial arrangements on the screen to optimize multitasking?
A. Virtual Desktops
B. Snap Layouts
C. Windows Hello
D. Dynamic Refresh Rate

Correct Answer: Option B


Explanation:
Snap Layouts allow users to organize multiple application windows across different layout zones on a display screen.

This question belongs to: Computer Operating Systems