Keys

Returns all keys matching pattern.

Supported glob-style patterns:

  • h?llo matches hello, hallo and hxllo
  • h*llo matches hllo and heeeello
  • h[ae]llo matches hello and hallo, but not hillo
  • h[^e]llo matches hallo, hbllo, … but not hello
  • h[a-b]llo matches hallo and hbllo

Examples

$ KEYS * # return all keys KEYS fleet:* # return all keys that have the prefix with ‘fleet:’

EnglishРусский