redis
Installation
SKILL.md
redis-cli
Use redis-cli to interact with Redis instances.
Common Commands
Connection
- Connect:
redis-cli -h <host> -p <port> - Authenticate:
AUTH <password> - Ping:
PING
Key Operations
- Get value:
GET <key> - Set value:
SET <key> <value> - Delete key:
DEL <key> - Check existence:
EXISTS <key> - Set with expiry:
SETEX <key> <seconds> <value>