[CentOS] Removing a file that starts with dashes

Laurent Wandrebeck l.wandrebeck at quelquesmots.fr
Thu Apr 3 05:58:36 UTC 2014


"Frank M. Ramaekers" <FRamaekers at ailife.com> a écrit :

> rm: unrecognized option `--backup=numbered'
> Try `rm ./'--backup=numbered'' to remove the file `--backup=numbered'.
> Try `rm --help' for more information.
>
> Frank M. Ramaekers Jr.
>
Damn, tested it with a path/file before sending a mail, didn’t think  
it would break without…lesson learned :)
Laurent



More information about the CentOS mailing list