3.2. Configuring auto-completion in a Bash or Zsh shell


You can configure auto-completion of CLI commands and command parameters in a Bash or Zsh shell.

Procedure

  1. Switch to the user account you created during installation, for example:

    $ su - amq-broker
  2. Use the following command to create a command auto-completion script called auto-complete-artemis.sh.

    $ /var/opt/amq-broker/mybroker/bin/artemis auto-complete
  3. To run the auto-complete-artemis.sh, use the following command:

    $ source /var/opt/amq-broker/mybroker/bin/artemis/auto-complete-artemis.sh
  4. To view auto-completion information for the artemis command, type /var/opt/amq-broker/mybroker/artemis and press Tab. A list of commands available for the artemis command is displayed.
  5. To view auto-completion information for an available command, press Tab after the command. For example, type /var/opt/amq-broker/mybroker/artemis check node and press Tab. If no further auto-completion information is displayed, type --, for example, check node --, and press Tab to display the parameters available for the command.
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

Red Hat ドキュメントについて

Legal Notice

Theme

© 2026 Red Hat
トップに戻る