Linux Disk Utilization (du) Without Mount Points or /proc

I frequently use du -sh to determine what is using all the space on my Linux box … but mounting a data volume makes that simple command really suck (also, the mount point isn’t the problem for my local storage!). And all the /proc errors are just annoying — so pass in exclusions!

du -sh --exclude='/mnt/*' --exclude='/proc/*' /*

Leave a Reply

Your email address will not be published. Required fields are marked *