redis清缓存

[root@DEV-007 ~]# whereis redis-cli

redis-cli: /usr/local/bin/redis-cli

[root@DEV-007 ~]# cd /usr/local/bin

[root@DEV-007 bin]# ll

total 17220

-rw-r--r-- 1 root root 4227 Dec 12 09:19 dump.rdb

-rwxr-xr-x. 1 root root 132 Mar 27 2018 ipsort

-rwxr-xr-x 1 root root 1633 Apr 9 2018 pcap-config

-rwxr-xr-x. 1 root root 23480 Mar 27 2018 pnscan

-rwxr-xr-x. 1 root root 4588075 Jun 9 2017 redis-benchmark

-rwxr-xr-x. 1 root root 22177 Jun 9 2017 redis-check-aof

-rwxr-xr-x. 1 root root 45395 Jun 9 2017 redis-check-dump

-rwxr-xr-x. 1 root root 4681555 Jun 9 2017 redis-cli

lrwxrwxrwx. 1 root root 27 Jun 9 2017 redis-sentinel -> /usr/local/bin/redis-server

-rwxr-xr-x. 1 root root 6243572 Jun 9 2017 redis-server

lrwxrwxrwx 1 root root 48 Sep 14 14:43 wx-config -> /usr/local/lib/wx/config/gtk2-unicode-static-3.0

lrwxrwxrwx 1 root root 8 Sep 14 14:43 wxrc -> wxrc-3.0

-rwxr-xr-x 1 root root 1995073 Sep 14 14:43 wxrc-3.0

[root@DEV-007 bin]# ./redis-cli

127.0.0.1:6379> FLUSHALL

OK

 

 

你可能感兴趣的:(redis)