[CentOS] Removing a file that starts with dashes

Frank M. Ramaekers FRamaekers at ailife.com
Wed Apr 2 14:51:41 UTC 2014


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.

> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of Laurent Wandrebeck
> Sent: Wednesday, April 02, 2014 9:48 AM
> To: CentOS mailing list
> Subject: Re: [CentOS] Removing a file that starts with dashes
> 
> 
> "Frank M. Ramaekers" <FRamaekers at ailife.com> a écrit :
> 
> > How can I remove this file?
> >
> > -rw-r--r-- 1 root    root       28707 Mar 31 12:31 --backup=numbered
> rm "--backup=numbered"
> 
> HTH,
> Laurent.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos


More information about the CentOS mailing list