I am having trouble creating an alias for this in my .profile. I tried this:
alias dfg='df -g |awk -F" " '{sub(/blocks/,"");if (length($1) > 15 ){printf("%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5)} else {printf("%s\t\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5)} } ''
the result i get when i logback in is...