redis-cli -a secret --no-auth-warning PING

Category: Databases & SQL

redis-cli -a secret --no-auth-warning PING

Ping with password without warning

-a passes the password on the command line, which prints a warning because it leaks via process listings; --no-auth-warning silences it. Prefer REDISCLI_AUTH for scripts. PING returns PONG when the server is reachable and authenticated.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.