Great terminal and useful mac osx commands I came across recently
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