D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] grep and dreadful command line skills

 

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


--
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