A Digital Life

My Notebook

View My GitHub Profile

  • About
  • 15 November 2015

    List Top 10 Largest Files and Directories

    by kerner1000

    du -hsx * 2>/dev/null | sort -rh | head -10
    

    Note that only files and directories will be considered, for which the current user has read-permissions. There will be no error messages.

    source

    tags: files and folders - terminal