0x00 한

Database

Deleting Redis Keys by Pattern - dels

Redis does not provide a separate dels command for deleting keys.

Instead, you can delete them using a keys pattern.

# Select DB 0
$ redis-cli -n 0 KEYS "your key" | xargs --delim='\n' redis-cli -n 0 DEL

Run the command above on the server where Redis is installed, and you can delete the keys that match the pattern you want.