[CentOS] Removing a file that starts with dashes
Frank M. Ramaekers
FRamaekers at ailife.comWed Apr 2 14:51:31 UTC 2014
- Previous message: [CentOS] Removing a file that starts with dashes
- Next message: [CentOS] Removing a file that starts with dashes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ahhh...that's the ticket! Frank M. Ramaekers Jr. > -----Original Message----- > From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On > Behalf Of John R. Dennison > Sent: Wednesday, April 02, 2014 9:48 AM > To: centos at centos.org > Subject: Re: [CentOS] Removing a file that starts with dashes > > On Wed, Apr 02, 2014 at 09:44:57AM -0500, Frank M. Ramaekers wrote: > > 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). > > rm -- --backup=numbered > > -- stops the processing of command line arguments so any file name after will > be interpreted literally. > > > > > John > -- > "Worry never robs tomorrow of its sorrow, it only saps today of its joy." > > ~~ Leo Buscaglia
- Previous message: [CentOS] Removing a file that starts with dashes
- Next message: [CentOS] Removing a file that starts with dashes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list