trash — A safer alternative to the rm Command
July 7, 2023 — The rm is the most commonly used command in the Linux/Unix world. It’s used to delete files and directories. But the problem with the rm
command is that it deletes the files and directories permanently. There’s no way to recover them once they’re deleted.