英[kwɪt] 美[kwɪt]

vt.Leave; give up, abandon; stop, interrupt; pay off

vi.Resign; stop; give up the struggle

adj. Free; freed from responsibilities or obligations

Third person singular: quits Present participle: quitting Past tense: quitted quit Past participle: quitted quit

redis QUIT command syntax

Function: Request the server to close the connection with the current client.

Syntax: QUIT

Description: Once all waiting replies (if any) are successfully written to the client, the connection is will be closed.

Available versions: >= 1.0.0

Time complexity: O(1)

Return: Always returns OK (but will not be printed and displayed because Redis-cli has exited at that time).

redis QUIT command example

$ redis
redis> QUIT
$