Skip to main content
GrN.dk

Main navigation

  • Contact
  • Your Digital Project Manager
  • About Greg Nowak
  • Services
  • Portfolio
  • Container
    • Excel Freelancer
    • Kubuntu - tips and tricks
    • Linux Apache MySQL and PHP
    • News
    • Image Gallery
User account menu
  • Log in

Breadcrumb

  1. Home

Directory Statistics Linux Terminal

Took me a while to find the perfect command for finding the biggest directory in the linux terminal. I was looking for something similar to the graphical tools like QDirStat and K4DirStat (Directory Statistics). In windows you can achieve this with windirstat.

Use find:

find . -type d -print0 | xargs -0 du | sort -n | tail -10 | cut -f2 | xargs -I{} du -sh {} (https://superuser.com/questions/9847/linux-utility-for-finding-the-larg…).

Or install ncdu.

Last modified
2017-10-14

Tags

  • Linux
  • Log in to post comments

Review Greg on Google

Greg Nowak Google Reviews

 

  • Portfolio
  • About Greg Nowak
  • Gregs IT and Logistics Optimization
  • Shrink PDF In Linux
  • Running Linux on T450s T495s T14, Thinkpads and Others
RSS feed

GrN.dk web platforms, web optimization, data analysis, data handling and logistics.