#!/bin/bash if [ ! -f "/usr/bin/ncdu" ]; then echo ":: Error: You do not have ncdu installed." exit 1 fi ncdu / echo ":: Ran \"ncdu /\" successfully."