Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-31-2005, 07:28 PM   #1
Registered: Jun 2005
Distribution: Centos
Posts: 215

Rep: Reputation: 30
deleting a file called --nostop

I've accidently put some paramaters in the reverse order and ended up with a file that's called '--nostop'

Now due to the hyphens I can't remove the file as the hyphens are always considered an option in things like rm.

I suppose an rm -rf * on this dir might do the trick but then I'll have to copy all other files out of here first.

Even when putting this name between quotes I can't get rid of it, so any tips?

Old 07-31-2005, 07:32 PM   #2
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
 rm ./--nostop


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the Linux file system called? gooshto Linux - Newbie 7 11-23-2005 08:14 PM
Which config file is called for wireless pcmcia Wolfgang67 Slackware 1 07-04-2004 05:21 AM
php only runs when file is called directly pnh73 Linux - Networking 2 02-20-2004 12:54 PM
delete a file called -n chris2000g Linux - Newbie 5 12-06-2003 09:18 AM
In which file the syslogd is called? zhu_liheng Linux - Newbie 2 10-01-2003 10:29 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration