Toggle back and forth between two directories from the command line

If you need to con­tin­u­ously switch between two dif­fer­ent direc­to­ries from the com­mand line or in a shell script, this is a super handy com­mand to do just that.

cd -

Ryan Sukale

Ryan is a UX engineer living in San Francisco, California.

You may also like...