How To Clear Apt Cache – /var/cache/apt/

I have a few limited space (20 gig) servers doing small jobs for us. If these have been upgrade over several major releases then the apt cache can get quite large. I used ncdu to see which folders and files are taking up space. To clear you apt cache from the command line type:

How to install ssh-copy-id on OSX (the easy way!)

If you have migrated from Linux to OSX… you might well be missing ssh-copy-id. Frankly, the easier way to do this is to install the Brew repository / package manager for Mac and then install ssh-copy-id on your Mac in one command. Install Brew (if you don’t already have this awesome tool!). Then simply.. Job … Read more