du -h --max-depth=1 | du -skh

du -h --max-depth=1
11M    ./mysql-connector-java-5.1.35
597M    ./wls12130
61M    ./SoapUI-5.1.3.old
48K    ./gedit-tm-autocomplete-1.0.5
41M    ./axis2-1.6.2
572K    ./5665OS_Codebundle
1.1G    .


du -skh * - shows sum of folders (Works on SOlaris)

gzip -l archive.csv.gz - shows the ratio% and size of uncompressed file

gunzip archive.csv.gz - to unzip

Comments

Popular posts from this blog

HAproxy logging

teamcity Automatic Agent Start under Linux

NFS mount add in fstab _netdev instead of default | firewall-cmd --list-all