*BSD News Article 24387


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!ucsvc.ucs.unimelb.edu.au!lugb!latcs1!latcs2.lat.oz.au!wongm
Newsgroups: comp.os.386bsd.questions
Subject: Re: How do you rm a strange file?
Message-ID: <CGtx1n.CsB@latcs1.lat.oz.au>
From: wongm@latcs2.lat.oz.au (M.C. Wong)
Date: Sun, 21 Nov 1993 06:36:59 GMT
Sender: news@latcs1.lat.oz.au (news)
References: <2ch6t2$ih5@netbsd08.dn.itg.telecom.com.au>
Organization: Comp Sci, La Trobe Uni, Australia
Lines: 20

In article <2ch6t2$ih5@netbsd08.dn.itg.telecom.com.au> tdwyer@netbsd08.dn.itg.telecom.com.au (Terry Dwyer 619 491 5161) writes:
> seem to have created a file that I can't delete in the middle of 
>a large directory structure:
>
>-rw-r--r--    1 tdwyer         58 Nov 19 08:54 -lg | less
>
>Any clues how to rm it?
>
>-- 
>   _-_|\    Terry Dwyer 	  E-Mail: tdwyer@netbsd08.dn.itg.telecom.com.au
>  /     \   System Administrator  Phone: +61 9 491 5161     Fax: +61 9 221 2631
>  *_.^\_/   Telecom Australia     Telstra Corporation       MIME capable mailer
>       v    Perth  WA                 ( I do not speak for Telstra or Telecom )

Hi,
  Try this : rm x "-lg | less", it should work under sh, csh, and tcsh!

- wongm@latcs1.lat.oz.au (M.C Wong)
-- 
- wongm@latcs1.lat.oz.au