mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-05 12:00:16 +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
|
||
|
|