mirror of https://github.com/CrimsonTome/tldr.git
Redis-cli: Condense, add note about default port.
parent
c0dad323d9
commit
52560585f9
|
@ -6,9 +6,12 @@
|
|||
|
||||
`redis-cli`
|
||||
|
||||
- Connect to a remote server:
|
||||
- Connect to a remote server on the default port (6379):
|
||||
|
||||
`redis-cli -h {{host}}`
|
||||
|
||||
- Connect to a remote server specifying a port number:
|
||||
|
||||
`redis-cli -h {{host}} -p {{port}}`
|
||||
|
||||
- Specify a password:
|
||||
|
|
Loading…
Reference in New Issue