du with colored bar graph | commandlinefu.com samedi 12 septembre 2015 à 17:45 @jeekajoo links""" du -x --max-depth=1|sort -rn|awk -F / -v c=$COLUMNS 'NR==1{t=$1}NR>1{r=c*$1/t+0.5;printf " %5.2f%% \033[1;7;31m%*s\033[0m %s\n",100*$1/t,r,"",$2}'|tac """ via le commentaire en bas de page(Permalink) (Profil)