[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Michael Mortimore wrote: > On Mon, 23 Nov 2009 21:27:20 -0000, Simon Waters <simon@xxxxxxxxxxxxxx> > wrote: >> Afraid the time honoured use of "." is in my command line muscle memory >> >> "rm ./-rf" > > Do you end up doing this by accident? > > yatt@lapeee:~/tmp$ rm ./-rf mydir > rm: cannot remove `./-rf': No such file or directory > rm: cannot remove `mydir': Is a directory No, but only because hitting tab is even more deeply embedded... What I actually type is "rm ./-<TAB>" Which gets me: rm ./-rf\ mydir Indeed I sometimes hit tab when I'm not sure what to type next, quite often bash does the right thing! -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html