Skip to content

Instantly share code, notes, and snippets.

@emilbayes
Last active August 29, 2015 14:08
Show Gist options
  • Save emilbayes/8aa89b0d3eafbc0bebf3 to your computer and use it in GitHub Desktop.
Save emilbayes/8aa89b0d3eafbc0bebf3 to your computer and use it in GitHub Desktop.
Netcat Speed Test
#Copy 2.1GB
DATASIZE=$(echo '2^31' | bc)
dd if=/dev/zero bs=$DATASIZE count=1 | nc [HOST] 2222
nc -l 2222
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment