4 ms·
If you alias rm for some users, you'll train them to think that rm has an undelete feature: bad idea. Experienced *nix users often work from an ordinary user a
by SiVal 13y ago
If you alias rm for some users, you'll train them to think that rm has an undelete feature: bad idea.
Experienced *nix users often work from an ordinary user account and turn to "sudo" only for special cases so they don't accidentally mess things up. When you use "sudo", you know you have to slow down and be careful. So why isn't an undoable file delete function not the default file deletion command, with rm reserved for special cases where you slow down and make extra sure you really want an irreversible delete?
Automated scripts would use rm as always, but for interactive work, especially on client machines with giant disks such as the typical general purpose user computer these days, there should be a different standard command for deletion that everyone learns long before they learn about rm.