redis-cli GET app:nameRedis Admin and redis-cli Cheat Sheet
redis-cli operational workflows, latency inspection, slowlog, config, ACL, clients, and safe administrative controls.
Export
Copy the compact sheet, download it, or print it.
Download
`D` dense toggle · `C` copy all
redis-cli workflows
Shell usage, monitoring, latency inspection, and scripting-friendly output.
bashANYredisredis-clishell
bash
bashANYredisredis-clioutput
bash
redis-cli --raw LRANGE jobs 0 -1bashANYredisredis-clioutput
bash
redis-cli --csv HGETALL user:1bashANYredisredis-clilatency
bash
redis-cli --latency-doctorbashANYredisredis-clilatency
bash
redis-cli --latency-history -i 1bashANYredisredis-clibigkeys
bash
redis-cli --bigkeysbashANYredisredis-climemory
bash
redis-cli --memkeysbashANYredisredis-climonitoring
bash
redis-cli --statbashANYredisredis-cliscan
bash
redis-cli --scan --pattern 'user:*'Dump an RDB snapshot from a live server
Request an RDB file from a live server and save it locally.
bashANYredisredis-clibackup
bash
redis-cli --rdb dump.rdbbashANYredismonitordanger
bash
MONITORUseful for debugging, but heavy and potentially unsafe on busy production nodes.
bashANYredisslowlogperformance
bash
SLOWLOG GET 20bashANYredisslowlog
bash
SLOWLOG LENbashANYredislatencymonitoring
bash
LATENCY LATESTbashANYredislatencymonitoring
bash
LATENCY DOCTORServer administration
Configuration, ACL, clients, and operational controls.
bashANYredisconfigadmin
bash
CONFIG GET maxmemorybashANYredisconfigadmin
bash
CONFIG SET maxmemory 1gbbashANYredisconfigadmin
bash
CONFIG REWRITEbashANYredisclientadmin
bash
CLIENT KILL 127.0.0.1:55000bashANYredisclientmaintenance
bash
CLIENT PAUSE 5000 WRITEbashANYredisclientmaintenance
bash
CLIENT UNPAUSEbashANYredisaclsecurity
bash
ACL LISTbashANYredisaclsecurity
bash
ACL SETUSER app-user on >strongpass ~app:* +GET +SET +DELbashANYredisaclsecurity
bash
ACL GETUSER app-userbashANYredisaclsecurity
bash
ACL DELUSER old-userbashANYredisaclsecurity
bash
ACL CATbashANYredisflushdbdanger
bash
FLUSHDB ASYNCbashANYredisflushalldanger
bash
FLUSHALL ASYNCbashANYredispersistencesave
bash
SAVEbashANYredispersistencesave
bash
BGSAVEbashANYredisshutdowndanger
bash
SHUTDOWN SAVEMore in Redis
Redis Persistence, Replication, and Cluster Cheat Sheet
RDB, AOF, replication, failover, Lua scripts, functions, and cluster command references for operational Redis use.
Redis Transactions, Pub/Sub, and Streams Cheat Sheet
Atomic transactions, optimistic locking, pub/sub messaging, streams, consumer groups, geo commands, bitmaps, and HyperLogLog.
Redis Data Types Cheat Sheet
High-value Redis commands for lists, sets, hashes, and sorted sets used in queues, objects, tags, and leaderboards.
Redis Cheat Sheet
Comprehensive Redis commands for redis-cli, key lifecycle, strings, expiration, and core operational workflows.