rm

Delete a file permanently

rm permanently deletes files. There is no trash or undo on Linux servers. Always double-check the path before running. rm -i prompts before each deletion.

Example

$ rm old.log
Tip: Type it yourself in the terminal below - reading is not the same as doing.