trying to rm that file with a '-' at the start of its name? :
rm -- -foo
where -foo is the filename. apparently -- tells rm not to treat the rest of the arguments as parameters. i'm also told that this works for other common UNIX commands, cp etc.
« wombles in person | Main | eclipse »
trying to rm that file with a '-' at the start of its name? :
rm -- -foo
where -foo is the filename. apparently -- tells rm not to treat the rest of the arguments as parameters. i'm also told that this works for other common UNIX commands, cp etc.
This page contains a single entry from the blog
The previous post in this blog was wombles in person.
The next post in this blog is eclipse.
Many more can be found on the main index page or by looking through the archives.