Skip to content

Terminal Management

The terminal management feature helps you efficiently manage multiple terminal sessions, improving development efficiency. Through intuitive interface and rich features, you can easily handle complex terminal operations.

Terminal Page Operations

Tab Menu Bar Functions

In the Tab menu bar of the terminal page, you can perform the following operations:

FunctionDescription
CloseClose current terminal session
Close OthersClose all sessions except current
Close AllClose all terminal sessions
CloneCopy current terminal session
Split RightCreate new split to the right of current terminal
Split DownCreate new split below current terminal

Right-click Menu Functions

Right-clicking in the terminal provides access to the following functions:

Basic Operations

  • Copy - Copy selected text content
  • Paste - Paste clipboard content to terminal
  • Search - Search text in terminal output
  • Clear Screen - Clear current terminal display content

Connection Management

  • Disconnect - Disconnect current terminal connection
  • New Terminal - Create new terminal session
  • Close Terminal - Close current terminal

Split Operations

  • Split Right - Create horizontal split
  • Split Down - Create vertical split

Advanced Functions

  • Global Execute Command - Execute same command in all terminals
  • Execute Command to All Windows - Send commands to all windows
  • Sync Input - Synchronize input to multiple terminals

Quick Command Functions

The quick command feature allows you to create reusable command scripts, improving work efficiency.

Creating Quick Commands

  1. Select Quick Commands from the right-click menu
  2. Click Add Script button
  3. Set script name and command content
  4. Save and use in quick buttons

Example Script

Here's a practical system check script example:

bash
# System status check script
ls -la
sleep 2
cd /home
pwd
sleep 1
sudo systemctl status nginx

Script Feature Characteristics

  • Multi-command Support - Can set single commands or command combinations
  • Delayed Execution - Supports delayed execution between commands (using sleep command)
  • One-click Execution - Click quick button to execute entire script
  • Script Management - Supports editing, deleting, and renaming scripts

Other Functions

File Management

  • Integrated file manager supporting file upload/download
  • Supports file editing and permission management
  • Provides file search and filtering functions

Interface Settings

  • Font Size Adjustment - Supports enlarging/shrinking terminal font
  • Theme Switching - Multiple terminal themes available
  • Layout Customization - Flexible window layout settings

Best Practices

Multi-terminal Management

  1. Reasonable Splitting - Arrange terminal layout according to workflow
  2. Naming Conventions - Set clear names for terminals with different purposes
  3. Regular Cleanup - Close unnecessary terminal sessions promptly

Quick Command Usage

  1. Categorized Management - Categorize common commands by function
  2. Test Verification - Test new scripts in test environment first
  3. Documentation - Add explanatory comments for complex scripts

Important Notes

Important Reminders

  • Global execute command function affects all terminals, use with caution
  • Sync input function may cause unexpected operations, recommend using after confirmation
  • System commands in quick commands require appropriate permissions to execute