English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Redis Quit Command

Redis Connections

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

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

Syntax

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

redis 127.0.0.1:6379> QUIT

Available Version

>= 1.0.0

Return Value

Always returns OK .

Online Examples

redis 127.0.0.1:6379> QUIT
OK

Redis Connections