Skip to content

Instantly share code, notes, and snippets.

@pib
Created October 25, 2011 19:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pib/1313956 to your computer and use it in GitHub Desktop.
Save pib/1313956 to your computer and use it in GitHub Desktop.
Sending a single message to a specific IRC channel
#!/bin/bash
nc -i 10 irc.freenode.net 6667 <<EOF
USER pib_netcat foo bar :Baz Bon
: NICK pib_netcat
: JOIN #austinhackerspace
: PRIVMSG #austinhackerspace :What up, bitnotches?
: PART #austinhackerspace
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment