Archive for the ‘Reference’ Category

Summary of Your Server’s Disk Usage

Thursday, October 24th, 2013

An easy way to get a summary of your server’s disk usage via SSH:

Disk Usage via SSH

To get the summary in gigabytes:

du -h / | grep ^[0-9.]*G | sort -nr

Zipping up a File/Folder via SSH

Thursday, October 24th, 2013

A simple method for zipping up a file/folder via SSH:

Using Zip via SSH