CLI tip: Go back to the previous directory
While in Terminal, going back to the previous directory can be done with the classic cd ..But there’s another way. make an alias of you choice for cd $OLDPWD, like this: alias cdo=’cd $OLDPWD’ Now every time you’ll tipe cdo you’ll be taken to the previous directory you were in. This is very useful when… Read More »