see the size of files and folders

How much room each file and folder takes, here or anywhere, biggest last.

disksfiles

steps
  1. du -sh *

    the size of each file and folder here

  2. du -sh .[!.]* *

    the same, hidden ones included

  3. du -h -d 1 | sort -h

    the folders here, sorted by size, biggest last

  4. du -sh folder

    the total size of one folder

  5. ls -lhS

    the files here, biggest first

  6. ncdu

    browse sizes folder by folder, if ncdu is installed

commands used

duncdulsdf

Each has a page in lore: lore du opens it.