du -sk to identify space usage unix
Find out what directories are using up disk space in unix with this command:
du -sk * | sort -n
I often put it into a function so I can call it quickly:
g () { du -sk * | sort -n }
df -h
(df -k
on old machines) shows the filesystem disk utilisation.
Leave a Reply