

Since Redis replies are typed (strings, arrays, integers, nil, errors, etc.), you see the type of the reply between parentheses. To run a Redis command and return a standard output at the terminal, include the command to execute as separate arguments of redis-cli: $ redis-cli INCR mycounter

This topic covers the different aspects of redis-cli, starting from the simplest and ending with the more advanced features. Request ASCII-art spectrogram of latency samples and frequencies.Check the latency of a Redis server and display statistics.Simulate a replica and print the replication stream it receives from the primary.To launch the program in special modes, you can use several options, including:

In interactive mode, redis-cli has basic line editing capabilities to provide a familiar typing experience. Overview of redis-cli, the Redis command line interface
