Skip to content

Instantly share code, notes, and snippets.

@hachi-eiji
Created March 8, 2013 19:28
Show Gist options
  • Save hachi-eiji/5119108 to your computer and use it in GitHub Desktop.
Save hachi-eiji/5119108 to your computer and use it in GitHub Desktop.
Telnetをシェルで叩く ref: http://qiita.com/items/61269ab7c9f65a665c6e
commandline()
{
sleep 1; echo "flush_all"
sleep 3; echo "quit"
}
commandline | telnet localhost 11211
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment