Created
June 8, 2010 17:28
-
-
Save jsocol/430348 to your computer and use it in GitHub Desktop.
fm - flush memcache
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
#!/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