7 lines
206 B
7 lines
206 B
#!/bin/sh
|
|
#du -hsx * | sort -rh | head -10
|
|
|
|
#including hidden, but excluding . and ..:
|
|
du -hsx .[^.]* * | sort -rh | head -10
|
|
|
|
#see also /var/lib/logrotate for possible HUGE files if logrotate malfunctions
|
|
|