ADDED: Note that I have a .trash in each user's home directory including /root. And a copy of the rm script in each user's home/bin.
As space has become less valuable on computers, and they have become less of a specialized tool, it may be wise to add one, but most of the desktop environments already implement it already so there is no need to recreate the functionality at a lower level.
I refer you to the original submission.
I don't see what's the big deal is. Once in a while when the recycling bin gets too big, the user can empty it. Or you can have a scheduled operation that deletes stuff after 30 days.
Many Linux systems don't even have a regular "user". They just sit in a corner and serve webpages, or do other tasks silently.
> Or you can have a scheduled operation that deletes stuff after 30 days.
Why not just keep backups for 30 days?
Be realistic. Setting up backups takes effort that many users are not going to expand, while the recycling bin mechanism can be set up by default.
rm is on the same layer as the DOS del command. Neither goes to the trash can, because they operate on a lower level.
If you're lucky and didn't write too much to the hard-disk after deletion, yes, but with a recycling bin you have much higher chances of recovery.
Regarding `del` in DOS: You're the second one to bring up that analogy. I don't see how this is relevant. Just because Windows does it that way doesn't mean that it's good.
alias rmmmmmmmmmmmmmmmmmmmmmm='rm -i'
rm() { D="~/.Trash/`date +%s.%N`"; mkdir -p $D; mv "$@" $D; }