Which Linux command is used to delete a file from the file system permanently? MCQ with Answer and Explanation

Which Linux command is used to delete a file from the file system permanently?
A. mv
B. remove
C. del
D. rm
Answer: Option D
Solution (By JKExamLibrary)
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

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1 Report Error
What is the purpose of the Android 'Notification System'?
A. To display alerts and messages from apps on the status bar or lock screen
B. To handle application permissions
C. To manage system notifications
D. To control volume settings

Correct Answer: Option A


Explanation:
The notification system allows apps to notify users about events, messages, and updates in a non-intrusive manner.

This question belongs to: Computer Operating Systems
Question #2 Report Error
In Android, what is the name of the runtime environment introduced in Android 5.0 to replace Dalvik?
A. JVM
B. ART (Android Runtime)
C. Dalvik 2.0
D. Google Runtime

Correct Answer: Option B


Explanation:
ART (Android Runtime) replaced Dalvik with ahead-of-time (AOT) compilation, improving performance and reducing startup time.

This question belongs to: Computer Operating Systems
Question #3 Report Error
Which of the following is a Linux command used to manage print queues?
A. lp
B. lpc
C. lpr
D. lpq

Correct Answer: Option A


Explanation:
lp is used to send files to print; lpr is similar; lpq shows queue; lpc controls printers.

This question belongs to: Computer Operating Systems