*BSD News Article 24210


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!pipex!sunic!ugle.unit.no!ugle.unit.no!jarle
From: jarle@drue.idt.unit.no (Jarle Greipsland)
Newsgroups: comp.os.386bsd.questions
Subject: Re: How do you rm a strange file?
Date: 19 Nov 93 10:39:28
Organization: Free Hardware Foundation, UnLtd.
Lines: 20
Message-ID: <JARLE.93Nov19103928@drue.idt.unit.no>
References: <2ch6t2$ih5@netbsd08.dn.itg.telecom.com.au>
NNTP-Posting-Host: drue.idt.unit.no
In-reply-to: tdwyer@netbsd08.dn.itg.telecom.com.au's message of 19 Nov 1993 09:18:12 +0800


In article <2ch6t2$ih5@netbsd08.dn.itg.telecom.com.au>, tdwyer@netbsd08.dn.itg.telecom.com.au (Terry Dwyer 619 491 5161) writes:

td>  seem to have created a file that I can't delete in the middle of 
td> a large directory structure:

td> -rw-r--r--    1 tdwyer         58 Nov 19 08:54 -lg | less

td> Any clues how to rm it?

Try rm ./-lg\ \|\ less
or something similar.  You might want to use the "-i" option with rm to be
on the safe side (chicken... :-).

					-jarle
----
		And the UNIX user said,
			rm -r *
		And all was without form, and void.