Which Linux command is used to display system hardware information? MCQ with Answer and Explanation

Which Linux command is used to display system hardware information?
A. lspci
B. lshw
C. lsusb
D. dmesg
Answer: Option B
Solution (By JKSSB Mock Tests)
lshw (list hardware) provides comprehensive hardware details; other commands show specific devices.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
What is the primary function of the Master Boot Record (MBR) on a storage drive?
A. To manage real-time internet connections.
B. To run continuous hardware diagnostics while applications are open.
C. To contain the initial boot sector code and partition table needed to locate and load the operating system.
D. To hold user profile pictures and account settings.

Correct Answer: Option C


Explanation:
The MBR is the first sector of a partitioned storage device that contains the boot loader code and the partition table layout.

This question belongs to: Computer Operating Systems
Question #2
What is the purpose of the 'initrd' or 'initramfs' image file during the Linux booting phase?
A. To run background cron jobs before initialization.
B. To compile user space terminal environments.
C. To provide a temporary root file system in RAM containing essential storage drivers needed to mount the real root file system.
D. To act as a desktop wallpaper storage module.

Correct Answer: Option C


Explanation:
initramfs acts as an initial RAM file system that equips the booting kernel with necessary hardware and storage controller drivers to read the actual disk partition.

This question belongs to: Computer Operating Systems
Question #3
Which technology allows multiple distinct operating system instances to run simultaneously on a single physical host computer machine?
A. Spooling
B. Virtualization (via Hypervisors)
C. Multithreading
D. Disk Defragmentation

Correct Answer: Option B


Explanation:
Virtualization uses a hypervisor abstraction layer to divide physical hardware pools into multiple self-contained Virtual Machines (VMs) running separate operating systems.

This question belongs to: Computer Operating Systems