• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests
May 11, 2022 |22.9K Views
rm - Removing a file in Linux
  Share   Like
Description
Discussion

rm stands for remove here. rm command is used to remove objects such as files, directories, symbolic links and so on from the file system like UNIX. To be more precise, rm removes references to objects from the filesystem, where those objects might have had multiple references (for example, a file with two different names). By default, it does not remove directories.

This command normally works silently and you should be very careful while running rm command because once you delete the files then you are not able to recover the contents of files and directories.

Syntax:

rm [OPTION]... FILE...

rm command: https://www.geeksforgeeks.org/rm-command-linux-examples