Redis: Connections Cheat Sheet

Auth Command

redis 127.0.0.1:6379> AUTH PASSWORD

Echo Command

redis 127.0.0.1:6379> ECHO "SAMPLE_STRING"

Ping Command

redis 127.0.0.1:6379> PING

Quit Command

redis 127.0.0.1:6379> QUIT

Select Command

redis 127.0.0.1:6379> SELECT DB_INDEX

Leave a Reply

Your email address will not be published. Required fields are marked *