Skip to content

Instantly share code, notes, and snippets.

@rgo
Created October 25, 2011 10:29
Show Gist options
  • Save rgo/1312197 to your computer and use it in GitHub Desktop.
Save rgo/1312197 to your computer and use it in GitHub Desktop.
Flush all memcached data
#!/bin/sh
echo $'flush_all\r\nquit\r\n' | nc localhost 11211
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment