Simple redis-cli / Redis commands

Assume that redis-cli is installed, and that redis in running on localhost:6379

  • select 0    select database 0.

  • keys *       list all keys in (currently selected database).

  • get foo     get value for key “foo”

Author | Miles Davenport

Career programmer, who designs, assembles, fixes, and supports customers, software and systems.