![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
I learned this one recently from a coworker:
This will allow you to switch to your previous current working directory. So:
This is really useful if you have two main directories you're currently working in.
cd -
This will allow you to switch to your previous current working directory. So:
# Go into first directory cd ~/path/to/first/dir # Go into second directory cd ~/path/to/second/dir # This takes us back to the first directory cd - # This takes us back to the second directory cd -
This is really useful if you have two main directories you're currently working in.
Works with BSD, too.
Date: 2009-06-29 06:14 am (UTC)Music: Kathleen MacInnes - Gaol Ise Gaol ("My Love is She") from 'The Highland Sessions'