The only part of a computer you can kick!

Categorised as joke

Redo last command as (g)root

Whoops I meant root or did I? It’s less funny is you don’t get the reference – google it. Running a command and then finding you need elevated privileges can be a bit annoying but this command below can save your hassle! One step closer to becoming a command-line-ninja!

Categorised as unix

Did you want many dirs?

Creating directories/folders can be a laborious task if you need to make many especially if they are nested, this handy trick saves your bacon and makes life a lot easier! Easy-peasy, directory squeezy!

! false

… it’s funny because it’s true

Categorised as code, joke


Cron is a time-based scheduler to execute scripts/commands on a time frame that you set. This is a neat little utility that is often over-looked for forgotten. I’ll be honest I didn’t have much experience for cron for a few years so basically forgot all there is to know! Well here is the basics anyone… Continue reading Cron!

Setting global git config

Setting the correct git config is a good indicator of a good dev and in some areas a requirement i.e. github will verify your commits if they can prove it came from you and a source that it knows to be verified. I won’t go down the rabbit hole of git configuration as their documentation… Continue reading Setting global git config

Categorised as git