Results 1 to 4 of 4

Thread: need help removing a file

  1. #1
    Junior Member
    Join Date
    May 2004
    Location
    nj
    Posts
    51

    need help removing a file

    Ok, I screwed up and used an incorrect tar command and ended up with a file that looks like this: "-X"

    Now, I need to remove it but I can not address it. Putting it in quotes (single or double) doesnt work either.

    thanks for any help

    mike
    NOBODY reads my email
    then who would want to anyway

  2. #2
    Junior Member
    Join Date
    May 2004
    Location
    nj
    Posts
    51
    well, i found it

    rm -- -X

    was the solution

    mike
    NOBODY reads my email
    then who would want to anyway

  3. #3
    Member
    Join Date
    Apr 2004
    Location
    Eugene, Oregon
    Posts
    207
    rm -rf as root will kill just about anything... just be sure you *really really* mean it before you hit enter. I think every long-time *nix user has at least one horror story involving rm -rf. :wink:

  4. #4
    Junior Member
    Join Date
    May 2004
    Location
    nj
    Posts
    51

    rm -rf

    didnt work

    give it a try

    dont know why, but rm -rf doesnt do it

    mike
    NOBODY reads my email
    then who would want to anyway

Similar Threads

  1. Removing Fedora from PC
    By elle in forum Redhat / Fedora
    Replies: 2
    Last Post: 05-05-2009, 10:17 AM
  2. Removing characters from a file..
    By Stuart in forum Linux - Software, Applications & Programming
    Replies: 6
    Last Post: 07-21-2005, 09:34 PM
  3. removing the bootloader
    By mcdougrs in forum Windows - General Topics
    Replies: 3
    Last Post: 02-24-2003, 06:26 PM
  4. Removing a line from a file
    By tolstoy in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 10-24-2002, 07:41 PM
  5. Removing Netscape 6.2
    By papanohair in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 12-11-2001, 03:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •