[100186] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: how to remove a file starting with -

daemon@ATHENA.MIT.EDU (Gordon Messmer)
Wed Nov 18 18:13:15 1998

Date: Wed, 18 Nov 1998 15:09:43 -0800
From: Gordon Messmer <yinyang@eburg.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

James Baxter wrote:
> 
> Can some one tell me how to remove a file like -letter?  Even rm * fails
> because the -l looks like a bad option.
> Thanks

GNU standard is to prefix non option -arguements with --
i.e.  rm -- -letter

MSG


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post