Definition, Meaning & Synonyms

rm

Command
/ɑːr ɛm/
Definition
A command used in Unix and Unix-like operating systems to remove files or directories.
Examples
  • rm file.txt – This command deletes the file named ‘file.txt’.
  • rm -r myfolder – This command removes the directory ‘myfolder’ and all of its contents.
Meaning
The ‘rm’ command is typically used in the terminal to delete specified files or directories permanently, meaning they cannot be recovered easily.
Synonyms
  • delete
  • remove
  • erase