Quick way to switch between folders in the terminal

How to move and forward between your present and previous directories

A couple of days ago a found a really neat trick you can use when you are in the terminal window.

cd -

It will move you from the directory you were in to the directory you were in last, typing it again will bring you back to that first directory.


Recent posts View all

Ruby

Forcing a Rails database column to be not null

How you can force a table column to always have something in it with Rails

Writing Marketing

We've deleted an article's worth of unhelpful words

We've improved several pages across our site by removing words that add no value, and often detract from the article.