how to check from terminal if redis is workign or not code example Example: check that redis is running $ redis-cli ping PONG