redis look for entoes code example
Example: scan and print all keys redis shell
# From shell
redis-cli --raw keys "KeyPrefix*"
# or
redis-cli --scan --pattern "KeyPrefix*"
# From shell
redis-cli --raw keys "KeyPrefix*"
# or
redis-cli --scan --pattern "KeyPrefix*"