Skip to content

Instantly share code, notes, and snippets.

@jagland
Created November 19, 2014 22:08
Show Gist options
  • Save jagland/ab9cf2dd20f9283a192b to your computer and use it in GitHub Desktop.
Save jagland/ab9cf2dd20f9283a192b to your computer and use it in GitHub Desktop.
tcpdump-reader
#!/bin/bash
FILES=`ls -1 /var/lib/tcpdump`
for j in $FILES
do
tcpdump -q -r "/var/lib/tcpdump/"$j "$@"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment