We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Find total size of files with a given extension: ls -ltR | grep \.zip | awk '{tot += $5} END {tot=tot/1024 ; printf(" TOTAL SIZE (kb): %4.2f\n",tot)}'
ls -ltR | grep \.zip | awk '{tot += $5} END {tot=tot/1024 ; printf(" TOTAL SIZE (kb): %4.2f\n",tot)}'
Find largest dirs > 500MB (mac): du -k ~/* | awk '$1 > 500000' | sort -nr
du -k ~/* | awk '$1 > 500000' | sort -nr
Files including one string but not another: grep -l <string-to-match> <filespec> | xargs grep -L <string-not-to-match>
grep -l <string-to-match> <filespec> | xargs grep -L <string-not-to-match>
dtrace
ls -aFl /usr/sbin/dtrace sudo chmod u+s /usr/sbin/dtrace dtruss <command> (strace on linux)