Skip to main content
GrN.dk

Main navigation

  • Articles
  • 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

 

  • Unsupported Theme Contracts Made WordPress 6.9.3 a Paid Troubleshooting Story
  • WordPress Playground Made Faster Reproduction Easier, but Plugin and Hosting Bugs Are Still Paid Troubleshooting
  • Drupal CMS 2.0 Makes Marketing-Site Rebuilds Faster, but Canvas, Recipes, and Governance Are Still Paid Work
  • Public Staging URLs and Admin Panels Are Still an Ops Leak, and Cloudflare Access Is a Paid Cleanup Job
  • WordPress 6.8 Password Hashing Makes Legacy Login Bridges a Paid Troubleshooting Problem
RSS feed

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