in reply to Unix size
You may want to man the 'du' command and see if '--total' on your system is correct. 'du' counts files so you need the '*' after the directory.
perl -e '@size=qx|du --total /home/*|;print $size[$#size];' my result: "1093296 total"
Good Luck!
"Well done is better than well said." - Benjamin Franklin
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Unix size
by MidLifeXis (Monsignor) on Feb 07, 2012 at 13:34 UTC | |
by cdarke (Prior) on Feb 07, 2012 at 13:53 UTC |