[CentOS] Removing a file that starts with dashes

Wed Apr 2 14:49:05 UTC 2014
Roberto Alvarado <ralvarado at gtdbox.com>

rm -f "\--backup=numered"

Regards
Roberto

-----Original Message-----
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf
Of Frank M. Ramaekers
Sent: miércoles, 02 de abril de 2014 11:45
To: centos at centos.org
Subject: [CentOS] Removing a file that starts with dashes

How can I remove this file?

-rw-r--r-- 1 root    root       28707 Mar 31 12:31 --backup=numbered

 

I've tried a few different methods, but most attempts interprets the file
name as a switch (which it doesn't understand).

 

TIA,

Frank M. Ramaekers Jr. | Systems Programmer | Information Technology |
American Income Life Insurance Company | 254-761-6649

 

_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos