Linux_access the file or directory which start with "-"

cd -- filename/dirName

 

[ccmobil@vm-a65a-fc19 wstemp]$ cd -553607453/
-bash: cd: -5: invalid option
cd: usage: cd [-L|-P] [dir]
[ccmobil@vm
-a65a-fc19 wstemp]$ cd -- -553607453/ [ccmobil@vm-a65a-fc19 -553607453]$ ls

 

posted @ 2016-11-28 15:40  天天好心情啊  阅读(209)  评论(0编辑  收藏  举报