How do I remove a file whose name begins with a "-" ?
rm ./-filename
or
rm -- -filename
http://www.faqs.org/faqs/unix-faq/faq/part2/section-1.html
Tuesday, March 17, 2009
0317 log
Subscribe to:
Posts (Atom)
How do I remove a file whose name begins with a "-" ?
rm ./-filename
or
rm -- -filename
http://www.faqs.org/faqs/unix-faq/faq/part2/section-1.html