Quick Tip: Make a directory and enter it with one command

We all make directories. It’s one way that we attempt to bring order to the chaos that is the filesystem.

We’re also pretty lazy. Creating a new directory and navigating into it is usually a two command affair:

mkdir order-i-say
cd order-i-say

Not anymore it isn’t:

mkdir quickly-now && cd $_

$_ is the last argument passed to the previous command. In our case, it’s the directory name. There’s a lot more here.

Just think of all those saved keystrokes.