Intelligent command completion is an intelligent assistant feature in the Alibaba Cloud ECS Workbench terminal. As you type, it predicts and suggests commands, parameters, and options in real time based on the context.
This feature provides the following benefits:
Improves input accuracy: Avoids spelling errors by enabling you to select commands and parameters from a suggestion list, which ensures they run correctly.
Provides intelligent suggestions: Dynamically displays all valid subcommands and parameter options based on your input, reducing the need to memorize complex commands.
Accelerates command input: Simplifies command entry to a "type-and-select" process, significantly reducing keystrokes. This improves efficiency, especially when performing repetitive tasks.
Prerequisites
To use this feature, RAM users must have the required permissions to connect to an ECS instance using Workbench.
Procedure
Connect to a Linux instance using Workbench
Log on to the ECS console - Instances page. Find the target instance, click Connect in the Actions column. For the Workbench option, click Sign in now.
Trigger command completion
In the Workbench terminal window, enter the prefix of a common command. For example, when you use the
systemctlcommand to manage the firewall service, entersystemctl status fire.When you type
fire, a suggestion list that containsfirewalldautomatically appears.The suggestion list does not block your normal input. You can ignore it and continue typing. The list filters and updates its options in real time as you type. To manually close the suggestion list, press the
Esckey.
Select and complete the command
Use the
↑(Up arrow) and↓(Down arrow) keys to select the suggestionsystemctl status firewalld. Then, press theTabkey to complete the command and press theEnterkey to execute it.
Disable intelligent command completion
This feature is enabled by default. To disable it, use one of the following methods:
Method 1: Right-click in the terminal to open the context menu, and then click Intelligent command completion to disable the feature.
Method 2: Click the
icon in the lower-left corner of the page. Navigate to , and turn off Command completion.
FAQ
Is intelligent command completion free of charge?
Yes, this feature is free of charge.
Why don't completion suggestions appear?
This issue can be caused by network latency. If it occurs, wait a moment, refresh the page, or reconnect to the terminal.