News for hackers. Stuff that matters.
Re:Rm -rf remains by mtdewcmu on Saturday June 14, 2014 @04:24AM (#7892359)
The explanation for what made him type that is what interests me. It would be like accidentally cutting your left hand clean off with a steak knife while you were eating dinner.
Re:Rm -rf remains by johnchristopher on Saturday June 14, 2014 @07:25AM (#7892576)
My bash is set to use vim bindings (set -o vi) and I constantly loop through commands. I am guilty of doing this while sleepy and sometimes I think I have cd to another directory when in fact I have not. I rm-ed (too) many things that way.
Re:Rm -rf remains by mtdewcmu on Saturday June 14, 2014 @12:15PM (#7893041)
I gave the vi mode a very short try, but it doesn't seem to make as much sense in a shell. If it has you accidentally deleting things, you might want to ask how much is it really worth. In vim you can undo.