Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

LINUX rm command ?

  1. May 31, 2004 #1
    LINUX rm command ???

    How do i remove files starting with "-"


    rm -file1.txt
    cant find a option -file1.txt

  2. jcsd
  3. May 31, 2004 #2
    rm -- -file1.txt or
    rm -- -*.txt

    use the man pages whenever you can't find an option. It is usually explained there. To see the man page for a command type man <command_name>, i.e. man rm
  4. May 31, 2004 #3
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Discussions: LINUX rm command ?
  1. Installing linux (Replies: 3)

  2. Running Linux (Replies: 9)

  3. Highlighting in linux (Replies: 4)

  4. Linux or Windows? (Replies: 54)

  5. Linux in Physics (Replies: 4)