*BSD News Article 24208


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!dog.ee.lbl.gov!newshub.nosc.mil!nosc!cg57!steve
From: steve@cg57.esnet.com (Steve Froeschke)
Subject: Re: How do you rm a strange file?
Message-ID: <CGq888.6EA@cg57.esnet.com>
Organization: E & S Systems, San Diego, CA.
References: <2ch6t2$ih5@netbsd08.dn.itg.telecom.com.au>
Date: Fri, 19 Nov 1993 06:48:07 GMT
Lines: 16

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?

Try doing a rm '-lg | less' and that "should" do it.  :-)

Steve
-- 
Internet: steve@cg57.esnet.com / stevef@netcom.com / stevef@crash.cts.com
UUCP:     ...nosc!cg57!steve / ...netcom!stevef  / ...crash!cg57!steve
Fidonet:  f217.n202.z1.fidonet.org!Steve.Froeschke