Easy Tutorial
❮ Sorted Sets Zcard Strings Setrange ❯

Redis Quit Command

Redis Connection

The Redis Quit command is used to close the connection between the current client and the Redis server.

The connection will be closed after all pending replies (if any) are successfully written to the client.

Syntax

The basic syntax for the Redis Quit command is as follows:

redis 127.0.0.1:6379> QUIT

Available Versions

= 1.0.0

Return Value

Always returns OK.

Example

redis 127.0.0.1:6379> QUIT
OK

Redis Connection

❮ Sorted Sets Zcard Strings Setrange ❯