tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [S]:File name's 1st Char is '-'
@ 1997-01-03  2:22 Peng Wei
  0 siblings, 0 replies; only message in thread
From: Peng Wei @ 1997-01-03  2:22 UTC (permalink / raw)
  To: tru64-unix-managers

Thanks to 

  Hans Ullitz-Moeller <hum@biobase.dk>
 "Muller, Ronald" <Ronald.Muller@metrokc.gov>
  alan@nabeth.cxo.dec.com
 "Michael A. Crowley" <mcrowley@mtholyoke.edu>

My question is:
   There are some file whose name's first character is '-'.
How can I read and delete them?

Answer:
  1. You can put double - (--) before file name to read and delete them.
         e.g.:
           #more -- -u
           #rm -- -u
  2. put ./ as prefix to the file name.
         e.g.:
           #more ./-u
            #rm ./-u

W. Peng
pengw@astrosv1.ihep.ac.cn

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-01-03  2:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-03  2:22 [S]:File name's 1st Char is '-' Peng Wei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox