mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-01 21:40:24 +00:00
19 lines
265 B
Plaintext
19 lines
265 B
Plaintext
|
# Authenticate to the server
|
||
|
AUTH password
|
||
|
|
||
|
# Echo the given string
|
||
|
ECHO message
|
||
|
|
||
|
# Ping the server
|
||
|
PING [message]
|
||
|
|
||
|
# Close the connection
|
||
|
QUIT
|
||
|
|
||
|
# Change the selected database for the current connection
|
||
|
SELECT index
|
||
|
|
||
|
# Swaps two Redis databases
|
||
|
SWAPDB index index
|
||
|
|