Monday, February 25, 2008

How to remove a file whose name starts with a - (minus)

use one of these commands:
rm -- -foo

rm ./-foo

No comments: