Remove a File in Bash
Here, you will learn how to delete files in a shell.
We'll cover the following...
rm
Definition:
rm
is used to delete files and directories. By default, it is only set to remove files and not directories for safety. It basically unlinks the file name with the data stored in so that it cannot be accessed anymore. Before deleting any file, you must have permissions to delete it. ...