Wednesday, April 13, 2011

Monday, April 4, 2011

linux reference a file start with a dash

problem:

say you have a file, its name start with a dash, when you try to use command on that file, it will result in error,


solution:

use command ./-xxxxxxxxxxxxxxx instead of command -xxxxxxxxxxxxxxx