Skip to content

ECHO

打印给定的字符串。这是一个简单的调试命令,主要用于测试连接是否正常。

Syntax

ECHO message

Return

Bulk string reply: 给定的字符串。

Examples

redis> ECHO "Hello World"
"Hello World"
redis> ECHO "Redis is awesome"
"Redis is awesome"

Released under the GPL-3.0 License.