telnet.sh
commandline()
{
sleep 1; echo "flush_all"
sleep 3; echo "quit"
}
commandline | telnet localhost 11211
exit 0
More than 5 years have passed since last update.
commandline()
{
sleep 1; echo "flush_all"
sleep 3; echo "quit"
}
commandline | telnet localhost 11211
exit 0
Register as a new user and use Qiita more conveniently