A pair of very useful commands,
pushdsaves the current directory and (optionally) changes to a different one;
popdreturns you to the saved directory:$ pwd /home/you/directory $ pushd /somewhere/far/away/in/the/filesystem $ pwd /somewhere/far/away/in/the/filesystem $ cd /somewhere/else $ cd /yet/another/place $ popd $ pwd /home/you/directory
I use these constantly but it seems lots of folk aren’t aware of them. Very useful if you have a couple of directories in a build tree you need to jump between and keep having to type in.