Back to Redis

COMMAND LIST

content/commands/command-list.md

latest1.2 KB
Original Source

Return an array of the server's command names.

You can use the optional FILTERBY modifier to apply one of the following filters:

  • MODULE module-name: get the commands that belong to the module specified by module-name.
  • ACLCAT category: get the commands in the [ACL category]({{< relref "operate/oss_and_stack/management/security/acl#command-categories" >}}) specified by category.
  • PATTERN pattern: get the commands that match the given glob-like pattern.

Redis Software and Redis Cloud compatibility

| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Supported">✅ Standard</span> <span title="Supported"><nobr>✅ Active-Active</nobr></span> | <span title="Supported">✅ Standard</span> <span title="Supported"><nobr>✅ Active-Active</nobr></span> | |

Return information

{{< multitabs id="command-list-return-info" tab1="RESP2" tab2="RESP3" >}}

Array reply: a list of command names.

-tab-sep-

Array reply: a list of command names.

{{< /multitabs >}}