[100236] 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 (Win Htin)
Thu Nov 19 02:24:26 1998

From: Win Htin <Win_Htin_Tk@sag.japan.ml.com>
Date: Thu, 19 Nov 1998 16:23:58 +0900 (JST)
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

*nix 101. How about if the file name is something like !aaa or $aaa ;-)


> Every beginner (including myself) gets this problem one day or =
another.
> Here is the answer: rm -- -letter
> regards,
> Hugo
>=20
> On Wed, 18 Nov 1998, James Baxter wrote:
>=20
> > Can some one tell me how to remove a file like -letter?  Even rm * =
fails
> > because the -l looks like a bad option.
> > Thanks
> >=20
> > Jim=20


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