commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
If you want to do this in the some one db, use
redis-cli -n5 KEYS "user*" | xargs redis-cli -n5 DEL
Delete items from Redis, using redis-cli, by matching a key pattern.
Outputs the real time it takes a Redis ping to run in thousands of a second without any proceeding 0's. Useful for logging or scripted action.