bash shell tip: cd -
| cd - |
(That's a hyphen after the cd) you'll switch to the previous directory you were in. Type it again and you'll return to the directory you just left.
If I had known that five years ago, it would have saved me 10,000 hours of typing by now.


0 Comments:
Post a Comment
<< Home