[Cool trick] Shortcut to mkdir and cd to it!

Append following code to /$HOME/.bashrc


function mkdir{
  command mkdir $1 && cd $1
}

Then, execute .bashrc

source ~/.bashrc