Skip to content

Instantly share code, notes, and snippets.

@codfish
Last active August 29, 2015 14:17
Show Gist options
  • Save codfish/f38560bec5d0df105a8f to your computer and use it in GitHub Desktop.
Save codfish/f38560bec5d0df105a8f to your computer and use it in GitHub Desktop.
Flush memcache
# display the current memcache process running in order to find the proper port number
ps auxw | grep memcache
# flush memcache. replace <port> with value from above
echo flush_all | nc localhost <port>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment