Re: -t file

From: Bill Verzal (Bill_Verzal@BCBSIL.COM)
Date: Mon Mar 17 2003 - 14:19:03 EST


rm -- -t

That is rm followed by 2 "-" characters, followed by the name.

In most *NIX programs, the "--" (double dash) indicates no more arguments
to parameters.

BV
--------------------------------------------------------------------------------------------------------
Bill Verzal
Technical Consultant
Forbes Technical Consulting
(312) 653-3684
bill_verzal@bcbsil.com
billverzal@imcingular.com (Pager)
888-428-4025 (Pager)
MailStop: 27.202B

"Denis Garrido Mendes" <Denis.Mendes@TECBAN.COM.BR>
Sent by: "IBM AIX Discussion List" <aix-l@Princeton.EDU>
03/17/2003 03:46 PM
Please respond to "IBM AIX Discussion List"

        To: aix-l@Princeton.EDU
        cc:
        Subject: Re: -t file

test:/home/dmendes/d/-> ls -l
total 0
-rw-r--r-- 1 root system 0 Mar 17 15:38 -t
test:/home/dmendes/d/->
test:/home/dmendes/d/-> find . -name "*t" -exec rm -i {} \;
rm: Remove ./-t? y
test:/home/dmendes/d/-> ls -l
total 0
test:/home/dmendes/d/->

Denis Garrido Mendes
Produção - CETEM
Tecnologia Bancária S/A
Brazil

Stephen Spalding <ssaixadm@YAHOO.COM>
Enviado Por: IBM AIX Discussion List <aix-l@Princeton.EDU>
17/03/2003 15:33
Favor responder a IBM AIX Discussion List

        Para: aix-l@Princeton.EDU
        cc:
        Assunto: -t file

Hello all,

A user on one of our AIX systems has somehow managed
to create a file called "-t". I've gone through my bag
of tricks trying to remove it, but I can't seem to
delete it. In fact, the only way that I can even do a
listing of the file is with 'ls -l'. Here is what the
file looks like:

soms01dx root /
> ls -l
total 92248
-rw-r--r-- 1 garneem quest 9729 Mar 17 12:29 config
-rw-r--r-- 1 root quest 1988 Mar 17 12:29 qdb
-rw-r--r-- 1 garneem quest 1196 Mar 17 12:21 -t

Does anyone have any idea how to get rid of this file?

Thanks!

-Stephen Spalding

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

**********
The information contained in this communication is confidential, private, proprietary, or otherwise privileged and is intended only for the use of the addressee. Unauthorized use, disclosure, distribution or copying is strictly prohibited and may be unlawful. If you have received this communication in error, please notify the sender immediately at (312)653-6000 in Illinois; (972)766-6900 in Texas; or (800)835-8699 in New Mexico.
**********



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:40 EDT