how to check redis running on local code example Example: check that redis is running $ redis-cli ping PONG