mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 10:42:07 +02:00
Redis-cli: Condense, add note about default port.
This commit is contained in:
parent
c0dad323d9
commit
52560585f9
1 changed files with 4 additions and 1 deletions
|
@ -6,9 +6,12 @@
|
||||||
|
|
||||||
`redis-cli`
|
`redis-cli`
|
||||||
|
|
||||||
- Connect to a remote server:
|
- Connect to a remote server on the default port (6379):
|
||||||
|
|
||||||
`redis-cli -h {{host}}`
|
`redis-cli -h {{host}}`
|
||||||
|
|
||||||
|
- Connect to a remote server specifying a port number:
|
||||||
|
|
||||||
`redis-cli -h {{host}} -p {{port}}`
|
`redis-cli -h {{host}} -p {{port}}`
|
||||||
|
|
||||||
- Specify a password:
|
- Specify a password:
|
||||||
|
|
Loading…
Add table
Reference in a new issue