filename is "-.", how do i remove this file?

filename is "-.", how do i remove this file?

Post by igo » Sat, 19 Jan 2002 04:17:41



i created a file named "-." after i ran tar cf -. (no space between
dash and dot).
my shell is very limited (i am running a rescue floppy) and does not
filename completion.
how do i remove something called -.?

thanks,

-igor

 
 
 

filename is "-.", how do i remove this file?

Post by John Gordon,217-352-6511x7418,CEERD-CF- » Sat, 19 Jan 2002 04:21:41



> i created a file named "-." after i ran tar cf -. (no space between
> dash and dot).
> my shell is very limited (i am running a rescue floppy) and does not
> filename completion.
> how do i remove something called -.?

you could use the full pathname of the file:

  rm /some/path/to/this/fiule/-.

or you could use the shortcut ./ meaning the current directory:

  rm ./-.

this is a Frequently Asked Question.  i recommend reading the FAQ
for this group.

---
John Gordon                  "No Silicon Heaven?  Preposterous!  Where would


 
 
 

filename is "-.", how do i remove this file?

Post by igo » Sat, 19 Jan 2002 06:35:27




> > i created a file named "-." after i ran tar cf -. (no space between
> > dash and dot).
> > my shell is very limited (i am running a rescue floppy) and does not
> > filename completion.
> > how do i remove something called -.?

> you could use the full pathname of the file:

>   rm /some/path/to/this/fiule/-.

> or you could use the shortcut ./ meaning the current directory:

>   rm ./-.

> this is a Frequently Asked Question.  i recommend reading the FAQ
> for this group.

thanks!
i will read the FAQ :)

- Show quoted text -

> ---
> John Gordon                  "No Silicon Heaven?  Preposterous!  Where would


 
 
 

filename is "-.", how do i remove this file?

Post by Michael Irwi » Sun, 20 Jan 2002 15:23:25



> i created a file named "-." after i ran tar cf -. (no space between
> dash and dot).
> my shell is very limited (i am running a rescue floppy) and does not
> filename completion.
> how do i remove something called -.?

ftp://rtfm.mit.edu/pub/usenet/news.answers/unix-faq/faq/part2
Question 2.1

You can also find more of the FAQ here:
ftp://rtfm.mit.edu/pub/usenet/news.answers/unix-faq/faq/
--
mQi

 
 
 

filename is "-.", how do i remove this file?

Post by Unemployed Gea » Mon, 21 Jan 2002 23:49:11




> > i created a file named "-." after i ran tar cf -. (no space between
> > dash and dot).
> > my shell is very limited (i am running a rescue floppy) and does not
> > filename completion.
> > how do i remove something called -.?

> you could use the full pathname of the file:

>   rm /some/path/to/this/fiule/-.

> or you could use the shortcut ./ meaning the current directory:

>   rm ./-.

> this is a Frequently Asked Question.  i recommend reading the FAQ
> for this group.

> ---
> John Gordon                  "No Silicon Heaven?  Preposterous!  Where would


sig

--
(" With the right boots, he could be marching into Poland. ")
                                     Dave Lister
                                     Technition
                                     D.S.S. Red Dwarf
                                     Jupiter Mining Corp.
_______________________________________________________________.