Originally posted by: Nithin
i don't want to argue with you noc. you know a lot more about this stuff.
i'm just saying it would be better to include this if there is no compelling reason
to leave it out. what do you experts lose? it will help those who are no knowledgeable.
They lose time explaining to people why their hard drive is filling up even though they're deleting a bunch of stuff. They spend time telling experienced users why the results they expect (that have worked for 30 years) aren't the results they are seeing. They spend time documenting the system and testing the system. They spend time designing a system that works for both desktop and server users, that works for single user systems and multi-user systems. All of this when a user can do it themselves in 10 minutes (if you had to look something up like I did).
It's not your OS's job to tell you how to do things, it's your job to tell it. Everyone is different and likes different things working in different ways. Apparently no one made this "feature" because they didn't think it was important enough to spend time on. If you do, make it. Preach it to the world. If you want a distribution to include it by default, start your own distribution.
and thats my question why make it a gun with safety turned off? if there is an option, why not include it? make it a gun with the option for experts to turn safety off?
thats all IMHO.
Knobs are bad. They lead to mistakes and problems. This knob isn't necessary, it isn't expected, and would cause plenty of problems. You can solve the issue for yourself in no time. Instead of wondering why you're given powerful tools, use them.
Here's how you can fix this:
mkdir ~/.trash
unalias rm
function rm() { mv $* ~/.trash/; }
alias bammo=rm
Add the last 3 lines to your bash profile also, so they stick through logouts. The function will move everything to ~/.trash instead of deleting them. To delete something, use the command "bammo".