9 examples for du

{{ score }}
  # File size in human-readable format(-h) of everything in that folder
du -sh *

# List human readable size of all sub folders from current location 
du -h --max-depth=1

# Sorted filesystem usage
du -s * | sort -nr
        
{{ score }}
  # File size in human-readable format(-h) of everything in that folder
du -sh *
        
{{ score }}
  # List human readable size of all sub folders from current location 
du -h --max-depth=1
        
{{ score }}
  # list subfolders with size (mac)
du -h -d 1
        
{{ score }}
  # Outputs the size of the specified Directory in human-readable format
du -sh Directory
        
{{ score }}
  # Sorted filesystem usage
du -s * | sort -nr
        
{{ score }}
  # sorted by size (mac)
du -hs * | sort
        
{{ score }}
  # List the largest directories in reversed order (useful alias)

du -kx | egrep -v "\./.+/" | sort -n
        
{{ score }}
  # Disk usage of all files and folders in this directory, on this filesystem, human-readable: 
du -d1 -x -h

# Now sorted:
du -d1 -x -h | sort -h