ubuntu check if redis is running code example Example: check that redis is running $ redis-cli ping PONG