mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-01-03 22:47:15 +03:00
Added redis-cli command
This commit is contained in:
parent
b2ede9d808
commit
49e4e7be6f
16
common/redis-cli.md
Normal file
16
common/redis-cli.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# redis-cli
|
||||||
|
|
||||||
|
> Opens a connection to a Redis server
|
||||||
|
|
||||||
|
- Connect to the local server
|
||||||
|
|
||||||
|
`redis-cli`
|
||||||
|
|
||||||
|
- Connect to a remote server
|
||||||
|
|
||||||
|
`redis-cli -h {{host}}`
|
||||||
|
`redis-cli -h {{host}} -p {{port}}`
|
||||||
|
|
||||||
|
- Specify a password
|
||||||
|
|
||||||
|
`redis-cli -a {{password}}`
|
Loading…
Reference in New Issue
Block a user