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. del
B. mv
C. remove
D. rm
Answer: Option D
Solution (By JKSSB Mock Tests)
The 'rm' command stands for remove and is used to delete files or directories in Unix-like terminal shells.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
Which Linux command is used to display the first few lines of a file?
A. more
B. less
C. head
D. tail

Correct Answer: Option C


Explanation:
head shows the first 10 lines by default; tail shows the last lines.

This question belongs to: Computer Operating Systems
Question #2
Which file system is used as the standard, default option for modern internal drives in Windows 10 and Windows 11?
A. NTFS
B. exFAT
C. FAT32
D. ext4

Correct Answer: Option A


Explanation:
NTFS (New Technology File System) is the native and default file system for modern Windows installations, providing security, journaling, and large file size support.

This question belongs to: Computer Operating Systems
Question #3
What is the role of the Android 'Installed Packages' list in settings?
A. To view, manage, and uninstall apps
B. To clear app data
C. To check app permissions
D. To update system firmware

Correct Answer: Option A


Explanation:
The installed apps list allows users to see all applications, manage storage, uninstall, and force stop apps.

This question belongs to: Computer Operating Systems