Horje
redis delete keys that match pattern Code Example
redis delete keys that match pattern
redis-cli --scan --pattern users:* | xargs redis-cli del

# Or if you have a cluster:
redis-cli --scan --pattern users:* | xargs -L redis-cli -c del




Shell

Related
bash change to script directory Code Example bash change to script directory Code Example
ubuntu open with code Code Example ubuntu open with code Code Example
ubuntu 20.04 install google cloud sdk Code Example ubuntu 20.04 install google cloud sdk Code Example
postgres output to bash variable Code Example postgres output to bash variable Code Example
git push repo Code Example git push repo Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11