top of page

What does rm command do?

  • Nov 18, 2024
  • 1 min read

The rm command is a command-line utility in linux that is used to remove or delete files or directories.


Below mentioned is the rm command syntax:


rm [OPTION]... FILE...


Here, [OPTION] refers to the various options that can be passed to the command, and FILE refers to the file or files that you want to delete.


By default, the rm command removes files without prompting for confirmation, so it is important to be careful when using this command. It is also worth noting that the rm command does not move files to the Trash or Recycle Bin, but permanently deletes them from the file system.



Recent Posts

See All

Comments


Commenting on this post isn't available anymore. Contact the site owner for more info.
bottom of page