Created
March 8, 2013 19:28
-
-
Save hachi-eiji/5119108 to your computer and use it in GitHub Desktop.
Telnetをシェルで叩く ref: http://qiita.com/items/61269ab7c9f65a665c6e
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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