Sunday, January 12, 2014

df fields re-ordered

To improve readability, moved the very long field to right most.
function df_h() {
  df -h | awk '{printf("%5s%5s%6s%5s %s\n",$2,$3,$4,$5,$1)}'
}
TODO allow df args to be passed in

No comments:

Post a Comment