What is rm command used for in Linux?
Experience Level: Junior
Tags: Linux
Answer
The rm command is used to remove files and directories from the command line. However, the removed files and directories do not get moved to the Trash. Instead, the rm command removes the files and directories permanently.
Related Linux job interview questions
What is locate command used for in Linux?
Linux JuniorWhat is touch command used for in Linux?
Linux JuniorWhat is rmdir command used for in Linux?
Linux JuniorWhat is mkdir command used for in Linux?
Linux JuniorWhat is mv command used for in Linux?
Linux Junior