Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 316 Bytes

redis.md

File metadata and controls

35 lines (30 loc) · 316 Bytes

redis cheat sheet

start server:

redis-server

start cli tool:

redis-cli

get info in cli:

INFO

add/get key:name pair:

set/get

list all keys:

redis-cli --scan --pattern '*'
redis-cli keys '*'

remove all keys:

flushall

monitor chages

monitor