Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use linux's redis-cli commands redis client management tools

Shulou Source: shulou.com Published: 2022-06-02 19:25:21 10月02日 Update

This article will explain in detail about the use of linux's redis-cli command redis client management tool. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

Redis is an open source (BSD authorization) in-memory data structure store that is used as a database, cache, and message mediation. It is also a high-performance key-value database.

The redis-cli command is the command line client of redis-server.

Syntax format: redis-cli [parameters]

Common parameters:

Reference example

Using the default port, connect to the redis server:

[root@linuxcool] # redis-cli-h 127.0.0.1

Connect to the redis through the designated port:

[root@linuxcool] # redis-cli-h 192.168.1.1-p 6380

Use a password to authenticate the connection:

[root@linuxcool] # redis-cli-h 127.0.0.1-p 6379-a myPassword about using linux's redis-cli commands redis client management tools to share here, I hope the above content can be of some help to you, you can learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: Commands clients clients data tools management tools management parameters databases more ports articles references good practical mediations memory content and at the same time instances Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Docker Shulou Tech Info Huawei macOS