As default, Discord will make all sorts of noises when things happen, for example, if someone calls you or joins the channel.
0 Comments
\xhh - any ASCII character represented by a hexadecimal number ( hh).Quoted string values are enclosed in double ( ") or single ( ') quotation marks.Įscape sequences are used to put nonprintable characters in character and string literals.Īn escape sequence contains a backslash ( \) symbol followed by one of the escape sequence characters.ĭoubly-quoted strings support the following escape sequences: To input string values that contain whitespaces or non-printable characters, you can use quoted and escaped strings. In interactive mode, a newline sends the command for parsing and execution. When redis-cli parses a command, whitespace characters automatically delimit the arguments. You can force human readable output when writing to a file or in You can force raw outputĮven on the terminal with the -raw option: $ redis-cli -raw INCR mycounter The output is no longer written to the terminal. Note that (integer) is omitted from the output because redis-cli detects For all other outputs it will auto-enable the raw output mode, as in the following example: $ redis-cli INCR mycounter > /tmp/output.txt Redis-cli only shows additional information for human readability when it detects the standard output is a tty, or terminal. This additional information may not be ideal when the output of redis-cli must be used as input of another command or redirected into a file. 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 |