DEV Community

pineapplemeat
pineapplemeat

Posted on

Find disk usage for top level directories

For current directory

du -h -d1 
Enter fullscreen mode Exit fullscreen mode

For specific directory

du -h -d1 DIR_PATH
Enter fullscreen mode Exit fullscreen mode

Top comments (0)