Skip to content

Instantly share code, notes, and snippets.

@mattroberts297
Last active September 27, 2022 14:21
Show Gist options
  • Save mattroberts297/d78d394d27ecc5647656 to your computer and use it in GitHub Desktop.
Save mattroberts297/d78d394d27ecc5647656 to your computer and use it in GitHub Desktop.
netcat in a loop
#!/bin/bash
for i in `seq $1 $2`; do
echo Message $i | nc 127.0.0.1 9997
sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment