Select Switch Library
Dbsize the number of data bars in the current library
Flushdb | Flushall clears the data, one clears the current library, one clears the current instance
Save | Bgsave saved to disk, Bgsave is stored in the background, does not block the current operation
Save is completed by the main process, bgsave by another process
Config Get | Config Set | Config rewrite
Config get requirepass//get password
Config set Requirepass 12345//Modify password, which is a hot modification, is not saved to the configuration file, is not valid after restarting the computer, or you can modify the port number
Config rewrite can persist configuration information modification
Exit
Redis-cli.exe-h localhost-p 9000-a 123
Keys *
Auth 12345
Keys *
Redis commands Select, Dbsize, Flushdb, Flushall, save, Bgsave, config get, config set, config rewrite