Vidyalelo
Computer Science · Q2

Linux

Engineering and GATE · Computer Science · question 2

Q2

What command is used to remove files?

A.
dm
B.
rm
Answer
C.
delete
D.
erase
E.
None of the above

Answer: Option B

Solution

Answer: Option B
Solution:
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.