Which Linux command is used to display the last reboot time? MCQ with Answer and Explanation

Which Linux command is used to display the last reboot time?
A. last reboot
B. uptime -s
C. All of the above
D. who -b
Answer: Option C
Solution (By JKSSB Mock Tests)
last reboot shows reboot history; uptime -s shows system start time; who -b shows boot time.

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 'UsbManager'?
A. To control USB charging
B. To manage USB device connections and communication
C. To detect USB devices
D. To manage USB storage

Correct Answer: Option B


Explanation:
UsbManager provides access to USB devices connected to the Android device, allowing communication via USB.

This question belongs to: Computer Operating Systems
Question #2
Which Linux terminal tool is traditionally used to modify or edit configuration text files directly within the terminal screen without a GUI?
A. Bash
B. nano (or vi/vim)
C. LibreOffice
D. GIMP

Correct Answer: Option B


Explanation:
'nano', 'vi', and 'vim' are classic text editor utilities that operate natively within terminal interfaces to configure text files.

This question belongs to: Computer Operating Systems
Question #3
Which Linux command is used to delete a file from the file system permanently?
A. remove
B. mv
C. rm
D. del

Correct Answer: Option C


Explanation:
The 'rm' command stands for remove and is used to delete files or directories in Unix-like terminal shells.

This question belongs to: Computer Operating Systems