Great terminal and useful mac osx commands I came across recently

March 11, 2012

Having never actually known about these commands in the past, i'm quite taken by them.

I am documenting them here for future reference.

ctrl+u - clears current line in terminal
ctrl+l - clears terminal commands without having to run the cmd 'clear'

cmd+d - creates a split terminal window
cmd+d+shft - removes the split terminal window

cmd+shft+{ - previous terminal tab
cmd+shft+} - next terminal tab

mkdir -p /this/is/avery/long/directory/structure/and/would/be/annoying/tocreate/

Will create the directory structure in one command for you rather than doing many commands.

top - Shows the running processes on your mac


About me

Hello! I'm David Heward, how are you going? I'm a Senior Devops/Build Engineer, specialising in AWS & Cloud Automation. Based in London. Strong 10+ year background in Software development. Have a read of my blog. Have a look at some of my working projects. Contact me at @davehewy or on Linkedin.