how to know folder size linux code example Example 1: check folder sizes linux du -h --max-depth=1 Example 2: check folder size in linux terminal du -sh /home/user/