Command Palette
The Command Palette is Glitch's built-in quick launcher for system administration commands. Open it with Ctrl+Shift+P or via the header menu → Command Palette.
How It Works
- Palette opens as a modal overlay with a search/filter input.
- Type to filter the 18 built-in commands by name.
- Click a command or press Enter on the highlighted row.
- The command is injected into the active terminal pane and executed by your shell.
- Palette closes automatically after selection.
All 18 Built-in Commands
| # | Name | Command |
|---|---|---|
| 1 | System Update & Upgrade | sudo apt update && sudo apt upgrade -y |
| 2 | Clean Package Cache | sudo apt autoremove -y && sudo apt clean |
| 3 | Clear Systemd Journal Logs | sudo journalctl --vacuum-time=3d |
| 4 | Real-time Processes (htop) | htop || top |
| 5 | Disk Space Usage | df -h |
| 6 | Live Memory Monitor | free -h -s 3 |
| 7 | List Storage Devices | lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT |
| 8 | Find Top 10 Largest Files | sudo find / -type f -exec du -sh {} + 2>/dev/null | sort -rh | head -n 10 |
| 9 | List Listening Ports | sudo ss -tunlpa |
| 10 | Show IPs (Local & Public) | echo 'Internal: ' && hostname -I && echo 'External: ' && curl -s ifconfig.me && echo '' |
| 11 | Live Network Connections | sudo netstat -antup |
| 12 | Count Active Connections | netstat -an | wc -l |
| 13 | Detailed System Info | fastfetch || neofetch || uname -a |
| 14 | List USB Devices | lsusb |
| 15 | Show Kernel Boot Logs | sudo dmesg -T | tail -n 50 |
| 16 | System Uptime & Load | uptime |
| 17 | List Zombie Processes | ps aux | awk '"[Zz]" ~ $8 {print $2, $11}' |
| 18 | Kill Resource Hogging Processes | ps -eo pid,%mem,%cpu,comm --sort=-%cpu | head -n 6 |
After Running a Command
Once output appears in the terminal, you can:
- Select the output and use Send to AI to get Glitch AI diagnostics (
/shellmode). - Copy output with Ctrl+Shift+C.
- Split the pane to run another command alongside.
Related
- Keyboard Shortcuts - Ctrl+Shift+P