Manage Multiple AWS Accounts Using Direnv

I came across a simple yet elegant means of managing multiple Amazon Web Services credentials when using the AWS CLI. This way does not make you have to hack your .aws/config and is the simplest/cleanest way I have found. First install direnv and make sure it is in your PATH. Be sure to remember to […]

My Favorite CLI Applications

I have been somewhat of a terminal junkie for well over 20 years. Right now some of my favorite CLI applications are: Rainbowstream – Twitter on the command line IRSSI – IRC client (works with Slack too!) MUTT – email client MOC – music player htop – top but prettier finch – basic Pidgin for […]

Tips: Managing Many Servers via SSH

I manage many servers in my line of work and have found a few things to make life a little easier when it comes to SSH’ing into them when I start my laptop up.The first of these is maintaining an up to date ssh config file which is kept in ~/.ssh that allows me to […]

Tips: Finding Huge Files on Linux

I tend to always need to find the huge log files that are filling up servers. One fast way is to use find and awk to list them in human readable form: find / -type f -size +20000k -exec ls -lh {} ; | awk ‘{ print $8 “: ” $5 }’ Int he above […]