Mar 25 2008

To remove a file whose name starts with a ‘-’

Category: 技术ssmax @ 10:11:37

in man rm…..

       To remove a file whose name starts with a ‘-’, for example ‘-foo’, use one of these commands:

              rm — -foo

              rm ./-foo

Leave a Reply

*
To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
Click to hear an audio file of the anti-spam word