Skip to content

Instantly share code, notes, and snippets.

@jsocol
Created June 8, 2010 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsocol/430348 to your computer and use it in GitHub Desktop.
Save jsocol/430348 to your computer and use it in GitHub Desktop.
fm - flush memcache
#!/bin/bash
# Flush memcached with a single command.
echo "flush_all" | nc localhost 11211
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment