Please note, this is a STATIC archive of website www.w3resource.com from 19 Jul 2022, cach3.com does not collect or store any user information, there is no "phishing" involved.
w3resource

Redis Server: SHUTDOWN

SHUTDOWN [NOSAVE] [SAVE]

Redis SHUTDOWN command is used to stop all clients, perform a blocking SAVE if at least one save point is configured, flush all append only files if AOF is enabled and quit the server.

Syntax:

SHUTDOWN [NOSAVE] [SAVE]

Available since

1.0.0.

Return Value

Simple string replies on error. On success, nothing is returned since the server quits and the connection is closed.

Return Value Type

String

Example: Redis SHUTDOWN

redis 127.0.0.1:6379> SHUTDOWN

Previous: SAVE
Next: SLAVEOF