Some basic commands
Open command line: REDIS-CLI
Display key Name: Keys * (You can use the wildcard character *,?) , [],\ escaped]
(1) Character type
1.1 Assignment and Value: Set key value, get key
such as: Set name WL, get name display WL
1.2 Increment number: INCR key
such as; incr age if you keep executing this command, age will add 1 each time.
1.3 Add the specified integer: Incrby key Step value
Example: Incrby score 2 increase each time 2
1.4 Decrease number (specified integer): Decr key, Decrby key step value
such as: DECR age, Decrby score 2
1.5 increasing the specified floating point number: Incrbyfloat key step value (floating point type)
Example: Incrbyfloat score 2.33
1.6 Append value to tail: Append key value
such as: Append name haha display Wlhaha
Looking at Redis for a few days to summarize the data types and commands