linux

Immediately change to a directory after it is created

Many times, when I create a new directory, the first thing I want to do is open it. The snippet below will immediately change to a directory after you create it.

$ mkdir foo && cd !$

more bash posts

more Linux posts