Deleting a file where the first character in name is a '-'
Harper Mann
hmann at itgroundwork.com
Wed Sep 8 22:26:46 UTC 2004
Try "rm -- -weed*"
Also try "rm --help" which is how I remember it.
Regards,
- Harper
Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)
-----Original Message-----
From: redhat-install-list-bounces at redhat.com
[mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Mark Knecht
Sent: Wednesday, September 08, 2004 2:33 PM
To: Getting started with Red Hat Linux
Subject: Deleting a file where the first character in name is a '-'
Hi all,
Since Rick suggested I'd been absent too long ;-) here's one for the
team. How do I delete this file? I'm stumped, but that's easy to do.
flash Images $ ls -la
total 388776
-rw-r--r-- 1 mark users 6920582 Apr 28 15:34
-weed-Onion_Jack-Fake_Moon_Landings.wma
drwxr-xr-x 2 mark users 4096 Sep 8 14:19 .
drwx------ 70 mark users 4096 Sep 8 14:12 ..
flash Images $
I tried quoting it, and back/forward slashing it, but I'm not able to
get rid of it.
thanks,
Mark
_______________________________________________
Redhat-install-list mailing list
Redhat-install-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request at redhat.com
Subject: unsubscribe
More information about the Redhat-install-list
mailing list