All Products
Search
Document Center

Elastic Compute Service:Use Terminal Assistant

Last Updated:May 15, 2026

Generate O&M commands and scripts with the LLM-powered Terminal Assistant in Workbench.

Overview

Note

Terminal Assistant is currently available for a free trial.

Terminal Assistant uses the Qwen LLM. After you connect to an instance with Workbench, you can generate commands, analyze log output.

Use cases

  • AI command generation

    Forgot a command? Use AI command generation to create it.

  • AI command explanation

    After running a command, use AI command explanation to interpret the output.

2025-03-04_14-19-08

2

AI command generation

Basic usage

If you forget a command, use AI command generation to create it.

  1. Connect to an ECS instance with Workbench.

    See Connect to an Instance using Workbench.

  2. On the right side of the command line, click Agent, or right-click and select AI Command Assistant. Describe the desired operation and press Enter. If the generated command meets your needs, click Insert Command and press Enter to execute it.

    image

More operations

To disable this feature, click the image icon in the lower-right corner. Go to AI Settings > Shell and turn off AI Command Assistant.

Example

Generate a command to find files that contain "log" in the current folder

The following figure shows how to generate a command that searches for files containing 'log' in the current directory.

2025-03-04_14-19-08

AI command explanation

Basic usage

After running a command, click the image icon at the end of the output to get an explanation.

image

More operations

Disable this feature: To hide the image icon, use one of the following methods:

  • Method 1: In the right-click menu, deselect AI Command Explanation.

  • Method 2: Click the image icon in the lower-right corner. Go to AI Settings > Shell and turn off AI Command Explanation.

Example

Explain the command find . -name "*log*" and its output

The following figure shows the explanation for find . -name "*log*" and its output.

2