Skip to content

Instantly share code, notes, and snippets.

@itsreallynick
Last active August 29, 2015 14:23
Show Gist options
  • Save itsreallynick/639485ff9624ba618ead to your computer and use it in GitHub Desktop.
Save itsreallynick/639485ff9624ba618ead to your computer and use it in GitHub Desktop.
Linux Binary Stack
for i in `echo $PATH | sed "s/:/ /g"`; do for j in `ls $i/*`; do echo `hostname && md5sum $j && ls -l --time-style=iso $j`| awk -v OFS=',' '{gsub(/\/.*\//,"",$3); print $2,$3,$8,$1}'; done; done
for i in `echo $PATH | sed "s/:/ /g"`; do for j in `ls $i/*`; do echo `hostname && md5 $j && ls -laT $j`| awk -v OFS=',' '{gsub(/\/.*\//,"",$15); print $5,$15,$10,$1}'; done; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment