Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2002 15:11:24 +0100
From:      "Barry Byrne" <barry.byrne@wbtsystems.com>
To:        "Jack L. Stone" <jackstone@sage-one.net>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Mystery "-p" file
Message-ID:  <NCBBIAMNAKDKFJIIGNPKIEIOJAAA.barry.byrne@wbtsystems.com>
In-Reply-To: <3.0.5.32.20020726090726.03029918@mail.sage-one.net>

next in thread | previous in thread | raw e-mail | index | archive | help
You should be able to remove with:

	rm -- -p

Have you checked what the file contains - could have been created or
renamaed accidently or by a script your written.

 - Barry

--
Barry Byrne, IT Manager,
WBT Systems, Block 2, Harcourt Centre
Harcourt Street, Dublin 2, Ireland


> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Jack L. Stone
> Sent: 26 July 2002 15:07
> To: freebsd-questions@FreeBSD.ORG
> Subject: Mystery "-p" file
>
>
> Running FBSD 4.5-RELEASE.
>
> I've discovered a mystery file "-p" in my /root directory of a server that
> contains 35M. I don't know how it got there, but when I try to
> remove it, I
> get errors:
> ==========================
> root@asafeserver>> rm -p
> rm: illegal option -- p
> usage: rm [-f | -i] [-dPRrvW] file ...
>        unlink file
> ==========================
>
> ....and just a listing:
> root@asafeserver>> ll -p
> ls: illegal option -- p
> usage: ls [-ABCFGHLPRTWabcdfgiklnoqrstu1] [file ...]
> ==========================
>
> Apparently the "file" is linked, so I'm all the more puzzled and
> concerned.
> How can I find out what it is linked to? ...and what/why it is
> there in the
> first place...???
>
> BTW, the file is time-stamped Jan 25 2002.... shame on me that it
> took this
> long to see it.... but have been wondering what was taking up so much room
> in "/" versus other servers. In doing a listing, I just didn't
> look up high
> enough to see the file which resides at the top and offscreen.
>
> Thanks for any ideas about this.... and a safe way to remove it...???
>
> Best regards,
> Jack L. Stone,
> Administrator
>
> SageOne Net
> http://www.sage-one.net
> jackstone@sage-one.net
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NCBBIAMNAKDKFJIIGNPKIEIOJAAA.barry.byrne>