System notes



how-to-rm

Version date: Thu May 24 14:28:12 EDT 2012

If you have a filename starting with a "-" how do you remove it?
Example file name "-mike"

The problem is that "rm -mike" will return an error, such as
no such flag -mike to rm.

The solution is:

rm ./-mike



Please read The Standard Disclaimer regarding information found in these pages.

To return to the top of the Corcoran document archives Click Here

If you came here directly from a search engine, and would like to view these pages in the proper frames from the top, Start Here

Or start at the very top of Mike Corcoran's home page