SSH to an EC2 instance by name

Now my company has around 35 different EC2 instances (and growing), I needed a way to easily SSH to them by their 'Name' tag instead of randomly assigned DNS name as we still have pets not cattle (tut tut!). This simple script does the job quite nicely: #!/usr/bin/env…

Check Linux disk usage

Some ways to see what is filling your disks: du --max-depth=5 -xha | sort -hr | head -n 30 Or install ncdu (http://dev.yorhel.nl/ncdu): ncdu -rx / ncdu 1.10 ~ Use the arrow keys to navigate, press ? for help [read-only] --- / ---------------------------------------------------------------------- 817.0MiB [##########] /usr 486.3MiB [##### ] /var 476.…