redis备忘录
前言
记录一些学习 Redis 过程中遇到的问题
指令
-
选择数据库
select [数据库序号]
e.g.
select 0 -
显示所有的key
keys * -
显示某一个 list 的所有内容
lrange key 0 -1 -
删除所有数据库
flushall -
删除当前数据库
flushdb -
帮助
help
To get help about Redis commands type:
"help @" to get a list of commands in
"help " for help on
"help " to get a list of possible help topics
"quit" to exit