News for hackers. Stuff that matters.
Re:Ubuntu command line fu - How not to spell "ls" by AlexMax on Monday July 05, 2010 @07:10PM (#1489379)
I wonder if there is an equivalent for somebody who misspells ls -l as ls- l. That's one that nails me quite a bit, and all I can do is grumble as it takes few seconds for bash to realize that no, that's not a valid command anywhere in the system.
Re:Ubuntu command line fu - How not to spell "ls" by gaius on Tuesday July 06, 2010 @02:19AM (#1490143)
My pet hate is :Wq, if that isn't a valid command anyway, would there be any harm in simply making it :wq quietly? Damn pedants.
Re:Ubuntu command line fu - How not to spell "ls" by tyweir on Tuesday July 06, 2010 @08:50AM (#1490800)
map :W<cr> :w<cr> map :Wq<cr> :wq<cr>

That hopefully helps.

Re:Ubuntu command line fu - How not to spell "ls" by gaius on Tuesday July 06, 2010 @10:19AM (#1491016)
Nice :-)
Re:Ubuntu command line fu - How not to spell "ls" by sankara on Tuesday July 06, 2010 @04:59AM (#1490421)
Oh yes, the "long shift" issue :)