BreadCrumbs: Bash Sort IP Addresses

Bash Sort IP Addresses

From Luke Jackson

(Difference between revisions)
Jump to: navigation, search
Revision as of 17:18, 5 November 2006 (edit)
Ljackson (Talk | contribs)

← Previous diff
Current revision (02:35, 8 November 2006) (edit)
Ljackson (Talk | contribs)

 
Line 1: Line 1:
grep ":25 HTTP/1.0" * | cut -d : -f 2 | cut -d" " -f 1 | sort -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4 | uniq > test grep ":25 HTTP/1.0" * | cut -d : -f 2 | cut -d" " -f 1 | sort -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4 | uniq > test
 +
 +[[Category:Mac OS X]]
 +[[Category:Linux]]

Current revision

grep ":25 HTTP/1.0" * | cut -d : -f 2 | cut -d" "  -f 1 | sort -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4 | uniq > test
Personal tools