redis-cli

redis-cli

TLDR

Connect to the local server

>_ redis-cli
copy

Connect to a remote server on the default port (6379)

>_ redis-cli -h [host]
copy

Connect to a remote server specifying a port number

>_ redis-cli -h [host] -p [port]
copy

Specify a password

>_ redis-cli -a [password]
copy

Execute Redis command

>_ redis-cli [redis_command]
copy

Copied to clipboard
free 100$ digital ocean credit