Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Redis Echo Command

Redis Echo Command

Redis Connection

The Redis Echo command is used to print the given string.

Syntax

The basic syntax of the redis Echo command is as follows:



redis 127.0.0.1:6379> ECHO message

Available Version

= 1.0.0

Return Value

Returns the string itself.

Example



redis 127.0.0.1:6379> ECHO "Hello World"

"Hello World"

Redis Connection