当前位置:网站首页>Redis related
Redis related
2022-07-28 22:39:00 【Integral mean value theorem】
1. lookup redis The installation path
whereis redis
2. Switch to redis The scripts directory , Sign in redis
./redis-cli -h xxx.xxx.xxx.xx -p xxxx
3. View the current database key The number of , perform :dbsize command
( If appear (error) ERR unknown command ‘(error)’ , Input auth password )
4.auth password
5. View all key value
keys *
View possible key value ( Regular )
keys abc* - With any number of characters ,abcd,abcdefg You can find
keys h?llo - Pass on a single character ,hello/hallo
keys a[bc]ple -[] Wildcard a character in parentheses , or abple, or acple, Can not be aple
keys a[a-b-c]ple - amount to or, matching a/b/c
keys a[^f]ple - matching f The previous letter
In combination with
keys h[a-b-c]*llo: matching ha( Arbitrarily )llo, perhaps hb( Arbitrarily )llo, perhaps hc( Arbitrarily )llo
6. Delete the value of the specified index :del key
6.1( demonic magic ) Delete the specified prefix in batch key value . This operation needs to exit redis library , utilize Linux Pipeline command implementation of
./redis-cli -h xx.xx.xx.xx -a " The password is written in quotation marks " keys " Conditions *" | xargs ./redis-cli -h xx.xx.xx.xx -a " The password is written in quotation marks " del
7. Empty the whole Redis Server data :flushall
8. Empty all... In the current library key:flushdb
9、 sign out :exit;
边栏推荐
- Sword finger offer II 052. flatten binary search tree (simple binary search tree DFS)
- Paddlenlp is based on ernir3.0 text classification. Take the traditional Chinese medicine search and retrieval semantic map classification (kuake-qic) as an example [multi classification (single label
- SQL injection less34 (post wide byte injection + Boolean blind injection)
- JS array merging, de duplication, dimensionality reduction (es6: extended operator, set)
- Command line agent: proxychains configuration
- How do we do full link grayscale on the database?
- ATT&CK初步了解
- php二维数组如何删除去除第一行元素
- Att & CK preliminary understanding
- 职场pua但有道理
猜你喜欢
How do we do full link grayscale on the database?

Ngrok intranet penetration

Static route and default route experiment

When can I sign up for the 2022 class I constructor examination?

Can the MySQL create statement be used to create a table structure and append new records

Quadruped robot | gem (elevation map) + fast_ Deployment records of Leo (odometry) environment

Vscode ROS configuration GDB debugging error record

STM32 -- program startup process

Qt+ffmpeg environment construction
![[CS231N]Lecture_ 2:Image Classification pipelin](/img/4f/de56b071560ada746c587a9dbc5f02.jpg)
[CS231N]Lecture_ 2:Image Classification pipelin
随机推荐
STM32 - interrupt overview (interrupt priority)
Static details of static members
SSH password free login
MySQL command (add, delete, check and modify)
Static route and default route experiment
[connect your mobile phone wirelessly] - debug your mobile device wirelessly via LAN
使用PCL批量显示PCD点云数据流
The blueprint of flask complements openpyxl
log4j漏洞 elk平台 处理方法 (logstah5.5.1)
[leetcode] maximum depth of binary tree
[Ruiji takeout project] Day5 - Chapter 6 mobile verification code login
ngx+sql环境离线安装日志(rpm安装)
Lvs+keepalived high availability deployment practical application
What are the main functions and uses of LCR tester
Sword finger offer II 064. magic Dictionary (medium dictionary tree string design)
mysql8.0无法给用户授权或提示You are not allowed to create a user with GRANT的问题
LVS+KeepAlived高可用部署实战应用
STM32 -- program startup process
Awk blank line filtering
775. 倒排单词