w3resource

Redis Connection: ECHO message

Description

Redis ECHO command is used to print the given string.

Syntax:

ECHO SAMPLE_STRING 

Available since

1.0.0.

Return Value

String reply

Return Value Type

String

Example:

redis 127.0.0.1:6379> ECHO "Hello World"
"Hello World"

Previous: AUTH
Next: PING



Follow us on Facebook and Twitter for latest update.