Snippets
Snippets allow you to save frequently used shell commands for quick execution.
Creating Snippets
Section titled “Creating Snippets”- Go to the Snippets tab
- Tap the + button
- Fill in snippet details:
- Name: Friendly name for the snippet
- Command: The shell command to execute
- Description: Optional notes
- Save the snippet
Using Snippets
Section titled “Using Snippets”- Open a server
- Tap the Snippet button
- Select a snippet to execute
- View output in the terminal
Snippet Features
Section titled “Snippet Features”- Quick Execute: One-tap command execution
- Variables: Use server-specific variables
- Organization: Group related snippets
- Import/Export: Share snippets between devices
- Sync: Optional cloud sync
Example Snippets
Section titled “Example Snippets”System Update
Section titled “System Update”sudo apt update && sudo apt upgrade -yDisk Cleanup
Section titled “Disk Cleanup”sudo apt autoremove -y && sudo apt cleanDocker Cleanup
Section titled “Docker Cleanup”docker system prune -aView System Logs
Section titled “View System Logs”journalctl -n 50 -f- Use descriptive names for easy identification
- Add comments for complex commands
- Test commands before saving as snippets
- Organize snippets by category or server type