pretty

Monday, November 18, 2013

Disable line wrap in bash

Disables
printf '\033[?7l'
Enables
printf '\033[?7h'

Brief pcap view with tshark

tshark -T fields -eip.src -e tcp.srcport -eip.dst -e tcp.dstport -e text -r http.cap | sed -e 's/Source GeoIP: Unknown,Destination GeoIP: //g'