What command is used to remove files?
A. dm
B. rm
C. delete
D. erase
E. None of the above
Answer: Option B
Solution(By Examveda Team)
The rm command is used to remove files in Linux.It stands for "remove".
When you want to delete a file from your system, you use the rm command followed by the filename.
It's a powerful command and should be used with caution as it permanently deletes files without moving them to a trash or recycle bin.
So, in summary, to remove files in Linux, you'd use the rm command.
Join The Discussion
Comments ( 1 )
Related Questions on Linux
What command is used to count the total number of lines, words, and characters contained in a file?
A. countw
B. wcount
C. wc
D. count p
E. None of the above
What command is used with vi editor to delete a single character?
A. x
B. y
C. a
D. z
E. None of the above
rm command is used for remove