Running out of disk space on your Linux, macOS, BSD, or Unix-like OS?
Uncategorized
1
Posts
1
Posters
0
Views
-
Running out of disk space on your Linux, macOS, BSD, or Unix-like OS? Or perhaps you're hitting the classic disk quota limits set by your sysadmin? Fear not. Run `du -sh * | sort -h` command to get a sorted list of your directory sizes so you can remove or compress unwanted files. Here is another useful shell alias:
```
alias ducks='du -cks -- * | sort -rn | head'
ducks
```See https://www.cyberciti.biz/faq/how-do-i-find-the-largest-filesdirectories-on-a-linuxunixbsd-filesystem/ for more info.
#unix #linux #macos -
undefined pierostrada@sociale.network shared this topic on