Basic liveness check; returns PONG when reachable.
Section: Connecting and basic redis-cli use
Ping the server
bash
bash
PINGExplanation
Run inside redis-cli interactive mode, or prefix it with `redis-cli` on the shell.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Connecting and basic redis-cli use
Connect to local Redis
Start an interactive session against localhost:6379.
Connect using a Redis URL
Use a single connection string, including DB number.