Technology Leadership Corporation
Technology Products and Consulting
Unix Cheat Sheet
PowerShell Cheat Sheet
Jul 26
Print the number of bytes of storage capacity the current directory recursively uses: ls -lR $1 | grep -v ^d | awk ‘{total+=$5;} END {print total;}’
Print the number of bytes of storage capacity the current directory recursively uses:
You must be logged in to post a comment.