Use --
to stop argument parsing.
$ cd -- -Tmp-
题
There is a foler which name is "-Tmp-", how can I cd
into it?
When I use cd
, it prompt as:
$ cd -Tmp-/
cd: -T: invalid options
Anybody can help me?
解决方案
Use --
to stop argument parsing.
$ cd -- -Tmp-