Mkdir and cd into it in one line

Today I learned… that you can make a new directory and cd into it on just one line.

$ mkdir dirname && cd $_

It’s the little things.

Leave a Reply

Your email address will not be published. Required fields are marked *