how to get Print keyp redss 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*"