[100188] 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 (Rick Forrester)
Wed Nov 18 18:18:04 1998

To: redhat-list@redhat.com
cc: James Baxter <jbaxter@morsco.com>
In-reply-to: Your message of "Wed, 18 Nov 1998 16:48:55 CST."
             <199811182249.RAA04931@mail.redhat.com> 
Date: Wed, 18 Nov 1998 15:15:01 -0800
From: Rick Forrester <rickf@glacier.jpl.nasa.gov>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


Gordon Messmer should win the cigar.  The correct method of
removing a file with a leading "-" is "\rm -- -*" (or -name).
His reason is also correct; I caught sight of his posting just
as I had started this response.  8^)

best
   rickf
-- 
Rick Forrister                 <Richard.Forrister@jpl.nasa.gov>

You'll wonder why your data's lost
   When you load your system with MicroSoft...



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