Show large files - Linux

Specify the directory to list large files in
du -h | grep '[0-9]G'

and it will output size in GB and the path.
Like so:

77G     /var/lib/mysql
77G     /var/lib
68G     /var/log/mysql
69G     /var/log
146G    /var

Comments

Popular posts from this blog

Alternatives to: "The quick brown fox jumps over the lazy dog."

Using keys like ALT+TAB in UltraVNC.

Command-line installation of OpenVPN