Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-05-2005, 05:41 AM   #1
Registered: Mar 2005
Location: India
Distribution: RedHat 9.0 and EL
Posts: 31

Rep: Reputation: 15
removing the file

hi, right now I have created a file named in my home folder named -x (just for curiocity that can it be deleted or not)
oops ....
its problematic the file is not deleting now I have tried all .
any idea about it

thanks in advance...
Old 04-05-2005, 05:45 AM   #2
Senior Member
Registered: Mar 2004
Location: england
Distribution: Debian, Mint, Puppy, Raspbian
Posts: 3,371

Rep: Reputation: 192Reputation: 192
rm -- -x

-- means ignore any further options.
Usefule for lots of commands, not just rm
Old 04-05-2005, 10:55 PM   #3
Registered: Mar 2005
Location: India
Distribution: RedHat 9.0 and EL
Posts: 31

Original Poster
Rep: Reputation: 15
Hi, Thanks for your help


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
problem removing file easykillsoft Linux - General 1 11-19-2005 08:52 PM
problem with removing file paulr1984 Linux - General 3 05-15-2004 03:28 PM
Removing lines from file Aylar Programming 2 04-22-2004 07:34 AM
removing a file (--exclude is the name of the file) Santinelli Linux - General 2 01-14-2004 10:03 AM
need help removing strange file... asc3ndant Linux - General 3 08-20-2003 04:45 AM

All times are GMT -5. The time now is 11:42 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