Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> How Do I Delete A File That Begins With A '-' Char
siliconeyes
post Apr 25 2003, 06:16 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 25-April 03
Member No.: 730



Hi all,

I am facing a problem and would consider it a big favor if someone could help me with it. Recently I tried installing ksh, and so downloaded the sources from a site. I untarred the whole package, and it created a file named "------------ NOTICE -- LICENSED SOFTWARE -- SEE README FOR DETAILS --------".

My problem simply is, how do I delete this file?? Running a normal command like " rm ------------ NOTICE -- LICENSED SOFTWARE -- SEE README FOR DETAILS ------------"gives me the following error:

rm: unrecognized option `------------ NOTICE -- LICENSED SOFTWARE -- SEE README FOR DETAILS ------------'

I've tried putting it in double quotes, single quotes and everything else I can think of. Tried the -f switch but no luck.

Can someone please help?? This file is a real eyesore, especially so because I accidentally uncompressed the archive in my home directory.
Go to the top of the page
 
+Quote Post
Tikitorchbob
post Apr 25 2003, 06:29 PM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 25-April 03
Member No.: 731



Try rm ./------------ NOTICE -- LICENSED SOFTWARE -- SEE README FOR DETAILS ------------
or rm -- ------------ NOTICE -- LICENSED SOFTWARE -- SEE README FOR DETAILS ------------
Go to the top of the page
 
+Quote Post
digitalturbulenc...
post Apr 27 2003, 08:38 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 21
Joined: 5-April 03
Member No.: 633



rm -- ./NOTICE\ --\ LICENSED\ SOFTWARE\ --\ SEE\ README\ FOR\ DETAILS\ --------

or

rm -- "------------ NOTICE -- LICENSED SOFTWARE -- SEE README FOR DETAILS --------"

or use midnight commander for this: mc


--------------------
Free disposable email addresses to
stop spam mails!
Try it: TrashMail.net
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th October 2017 - 02:37 AM