[aprssig] Help removing a nasty file

Gerry Creager N5JXS gerry.creager at tamu.edu
Sun Sep 25 12:14:17 EDT 2005


or, rm '\-foo'

the "\" escapes a special character to allow it to be included in a 
name.  the single quotes identify it as a regular expression.

Andrew Rich wrote:
> Come on mate, if I read the manual I would be professional.
> 
> In keeping with my fore fathers, in the spirit of amateur radio I took plan B
> 
> Take a stab in the dark
> 
> On Sunday 25 September 2005 16:28, VE7GDH wrote:
> 
>>Andrew VK4TEC wrote on Sept 24 2005
>>
>>
>>>>rm -- -size
>>
>>>what does a double negative do ?
>>
>>To remove a file whose name starts with a `-', for example `-foo', use one 
>>of these commands:
>>
>>   rm -- -foo
>>   rm ./-foo
>>
>>(Hint... man rm - hi)
>>
>>73 es cul - Keith VE7GDH
>>--
>>"I may be lost, but I know exactly where I am!"
>>
>>
>>_______________________________________________
>>aprssig mailing list
>>aprssig at lists.tapr.org
>>https://lists.tapr.org/cgi-bin/mailman/listinfo/aprssig
>>
>>
>>
> 
> 

-- 
Gerry Creager -- gerry.creager at tamu.edu
Texas Mesonet -- AATLT, Texas A&M University	
Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578
Page: 979.228.0173
Office: 903A Eller Bldg, TAMU, College Station, TX 77843




More information about the aprssig mailing list