Section: Files and Directories
Remove file
bash
bash
rm file.txtExplanation
Double-check with `ls` first when deleting important files.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Files and Directories