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.

For example

cd /directory_one
cd /directory_two
cd -  (you are now in directory_one)
cd - (you are now in directory_two)

I’ve recorded a short video to show you.

Recent posts View all

RubyFreelancing

Belfast Rails Supper Club

I recently attended the Belfast Rails Supper Club here are my thoughts and some more information about this meet up.

SEO

Google follows URLs in text

Today I learned that Google follows URLs even when they are plain text