G
gcawood
Guest
Easy! Loop through the results of `ls` and then apply a `du -hs`. See below!!
for i in `ls`; do du -hs $i; done
du -hs *
Hey thanks! I just learned something new there-When parsing commands ` ` is deprecated, $() is preferred.
http://wiki.bash-hackers.org/syntax/expansion/cmdsubst has a great explanation.Hey thanks! I just learned something new there
Do you have a source for that?