4 ms·
Actually, I think that the real great hack here is to alias the rm command to a trashbin script (as suggested at the end of the article)
by koevet 16y ago
Actually, I think that the real great hack here is to alias the rm command to a trashbin script (as suggested at the end of the article)
- abhiomkar 16y agoThis can be achieved using trash-cli
- telemachos 16y agoThe danger of aliasing the command itself (the bare 'rm') is that you come to count on the safety of the alias. Then you work one day on a friend's or coworker's machine and...BOOM. What I do instead is make a nearby (and simple) alias. For example: rmi='rm -i'