[100244] in RedHat Linux List

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

FW: how to remove a file starting with -

daemon@ATHENA.MIT.EDU (Soffen, Matthew)
Thu Nov 19 12:03:50 1998

From: "Soffen, Matthew" <msoffen@iso-ne.com>
To: redhat-list@redhat.com
Date: Thu, 19 Nov 1998 10:26:15 -0500
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

You could also use the ? for a wildcard match.

> ----------
> From: 	Gordon Messmer[SMTP:yinyang@eburg.com]
> Sent: 	Wednesday, November 18, 1998 6:09 PM
> To: 	redhat-list@redhat.com
> Subject: 	Re: how to remove a file starting with -
> 
> 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