Skip to content

Instantly share code, notes, and snippets.

@ramn
Created October 29, 2013 16:18
Show Gist options
  • Save ramn/7217794 to your computer and use it in GitHub Desktop.
Save ramn/7217794 to your computer and use it in GitHub Desktop.
Sockets as devices in Bash
exec 4<>/dev/tcp/gopher.meulie.net/70
echo "" >&4
cat <&4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment