Skip to content

Instantly share code, notes, and snippets.

@Air-Craft
Created June 28, 2015 13:12
Show Gist options
  • Save Air-Craft/dfcb4fb34c5797d7e1cb to your computer and use it in GitHub Desktop.
Save Air-Craft/dfcb4fb34c5797d7e1cb to your computer and use it in GitHub Desktop.
Flush memcache server from command line #CLI #memcache #bash
echo 'flush_all' | nc localhost 11211
# Or...
nc 192.168.1.10 11211<<<"flush_all"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment