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:
| Function | Description |
|---|---|
| Close | Close current terminal session |
| Close Others | Close all sessions except current |
| Close All | Close all terminal sessions |
| Clone | Copy current terminal session |
| Split Right | Create new split to the right of current terminal |
| Split Down | Create 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
- Select Quick Commands from the right-click menu
- Click Add Script button
- Set script name and command content
- 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 nginxScript Feature Characteristics
- Multi-command Support - Can set single commands or command combinations
- Delayed Execution - Supports delayed execution between commands (using
sleepcommand) - 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
- Reasonable Splitting - Arrange terminal layout according to workflow
- Naming Conventions - Set clear names for terminals with different purposes
- Regular Cleanup - Close unnecessary terminal sessions promptly
Quick Command Usage
- Categorized Management - Categorize common commands by function
- Test Verification - Test new scripts in test environment first
- 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