Created
June 28, 2015 13:12
-
-
Save Air-Craft/dfcb4fb34c5797d7e1cb to your computer and use it in GitHub Desktop.
Flush memcache server from command line #CLI #memcache #bash
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
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