I’ve paired a few times with my colleague Phil Potter over the last couple of weeks and since he’s a bit of a ninja with bash shortcuts/commands I wanted to record some of the things he’s shown me so I won’t forget them! 

Let’s say we’re in the ‘/tmp’ directory and want to create a folder a few levels down but forget to pass the ‘-p’ option to ‘mkdir’: