mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
valkey-cli: add page (#18992)
This commit is contained in:
committed by
GitHub
parent
2cec98fcc9
commit
386312e1a1
@@ -0,0 +1,32 @@
|
||||
# valkey-cli
|
||||
|
||||
> Open a connection to a Valkey server.
|
||||
> More information: <https://valkey.io/topics/cli/>.
|
||||
|
||||
- Connect to the local server:
|
||||
|
||||
`valkey-cli`
|
||||
|
||||
- Connect to a remote server on the default port (6379):
|
||||
|
||||
`valkey-cli -h {{host}}`
|
||||
|
||||
- Connect to a remote server specifying a port number:
|
||||
|
||||
`valkey-cli -h {{host}} -p {{port}}`
|
||||
|
||||
- Connect to a remote server specifying a URI:
|
||||
|
||||
`valkey-cli -u {{uri}}`
|
||||
|
||||
- Specify a password:
|
||||
|
||||
`valkey-cli -a {{password}}`
|
||||
|
||||
- Execute valkey command:
|
||||
|
||||
`valkey-cli {{valkey_command}}`
|
||||
|
||||
- Connect to the local cluster:
|
||||
|
||||
`valkey-cli -c`
|
||||
Reference in New Issue
Block a user