The rm Utility
Learn about the utility rm in detail.
We'll cover the following...
We'll cover the following...
rm
The rm utility deletes files and directories. Specify the object to delete by its absolute or relative path. Here are examples of rm calls:
rm report.txt
rm ~/docs/reports/2019/report.txt
The first call deletes the report.txt file in the current directory. The second one deletes it in the ~/docs/reports/2019 path.
Removing files and directories
Run the commands discussed in this lesson in the terminal below.
The rm ...