PANGDU 胖嘟
楊景皓的工作日記: linux, debian, mysql, vim, php, javascript, python
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
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment