Using RH7.0, I've set up a bash script called 'dlist' which is just an 'ls' with the '-s and -h' switches appended. This gives you your normal ls output, with total size of the directory contents and ...
Bash scripts are powerful, but with power comes great responsibility. It’s very easy for sloppy or poorly-planned code to do real damage, so it’s a good idea to be careful and practice defensive ...