Posts

Showing posts from 2023

Install gdu

Quick install script for go DiskUsage() If you want to quickly run through your file system usage and determine what’s eating up your storage space you can simply use gdu . This will install the gdu binary on your linux system. LATEST_VERSION=$(curl -LISs https://github.com/dundee/gdu/releases/latest | grep location | cut -d" " -f2) LATEST_VERSION=$(echo "${LATEST_VERSION##*/}" | tr -d '\r') PKG_NAME="gdu_linux_amd64.tgz" curl -LSs https://github.com/dundee/gdu/releases/download/${LATEST_VERSION}/${PKG_NAME} | sudo tar -xzf - -C /usr/local/bin/ sudo mv /usr/local/bin/{"${PKG_NAME%.*}",gdu} For more information on the features and how to use it, check out the gdu github .