[Gllug] Deleting files starting with -

Chris Ball chris at void.printf.net
Wed Dec 4 10:18:29 UTC 2002


>> On 2002-12-04, Jonathan Dye <jonathan.dye at automationpartnership.com> said:

   > Hi, Can anyone tell me how I can delete files that start with a - ?

rm(1) - and lots of GNU utils - have a signifier of '--' to show the end
of the option switches.  So, rm -- --help should do you.  There's also
rm ./--help.

- Chris.
-- 
$a="printf.net";  Chris Ball | chris at void.$a | www.$a | finger: chris@$a


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list