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.

This Question Belongs to Computer Science >> Linux

Join The Discussion

Comments ( 1 )

  1. Ankur Thakur
    Ankur Thakur :
    3 years ago

    rm command is used for remove

Related Questions on Linux