Added redis-cli command
This commit is contained in:
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}}`
|
Reference in New Issue
Block a user