【发布时间】:2016-04-12 04:08:10
【问题描述】:
我想从 redis-cli shell 一次显示我在 Redis 中所有键的 ttl。
我尝试过类似的东西
redis-cli keys * | xargs redis-cli TTL
但它不起作用,我一直收到错误:
(error) ERR wrong number of arguments for 'ttl' command
【问题讨论】:
标签: linux shell redis redis-cli nosql