Deleting a file where the first character in name is a '-'

Mark Knecht mknecht at controlnet.com
Thu Sep 9 00:04:23 UTC 2004


Rick Stevens wrote:
> 
> Actually, the best way is the "--" option.  This works on most basic
> commands (cp, rm, mv, ls, etc.).  "--" is a special flag that says "this
> is the end of the options...the remainder are parameters".

I have a friend who always sends me commands to run Wine this way:

wine -- Win-prog.exe

Never knew why.

Thanks!





More information about the Redhat-install-list mailing list