I found cd - can switch back and forth between previous and current directory which is a very handy feature. Also found cd -- works too, but not sure what exactly that's for. Is there any reference covers this? Please advise, thanks.
|
|
|||
|
|
|
Edit: I'm not clear if you are talking about
See how that behavior is different from
Regarding The
Pretend you had a directory called
You can't cd to this normally, because the command tries to interpret the
So use the
|
|||||||||||||
|
|
Previous directory is also Depends on your shell, but check out the
Then, you can use the |
|||
|
|
|
I don't know the answer to this for sure, but from what I've deduced it seems that the It seems to happen for a few standard utils: |
|||
|
|