Linux Terminal Glossary
›
File Operations
rm -f file.txt
Category:
File Operations
rm -f file.txt
Copy command
Force remove without prompting, ignore nonexistent
Deletes a file without asking for confirmation and ignores errors if the file doesn't exist. -f means 'force'.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.