bin/redis-cli --scan --pattern 'session:*7ab0'

redis使用--pattern选项遍历查询_分享