From: Peng Wei <pengw () astrosv1 ! ihep ! ac ! cn>
To: tru64-unix-managers
Subject: [S]:File name's 1st Char is '-'
Date: Fri, 03 Jan 1997 02:22:34 +0000 [thread overview]
Message-ID: <96076450422964.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~1997-01-03 2:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox