list size of folder linux code example
Example 1: check folder sizes linux
du -h --max-depth=1
Example 2: linux command to list directory size
sudo du -sh /var
Example 3: check folder size in linux terminal
du -sh /home/user/
du -h --max-depth=1
sudo du -sh /var
du -sh /home/user/