advertisements
_____________________________________________________________________________________________________________________
ls -ltr |awk '{ sum+=$5 } END {print "Bytes In MB:" sum/1024/1024}'
ls -ltr |awk '{ sum+=$5 } END {print "Bytes In GB:" sum/1024/1024/1024}'
_____________________________________________________________________________________________________________________
0 comments:
Post a Comment