Overview
Site commands allow you to execute custom shell commands directly on your server from the Loupp dashboard. This feature provides a convenient way to perform maintenance tasks, run scripts, and troubleshoot issues without direct SSH access.Command Execution Features
Core Capabilities
Custom Commands
Execute any shell command with full server access
Command History
Track all executed commands with timestamps and outputs
Real-time Monitoring
Monitor command execution status and results
Execution Environment
Commands run in a controlled environment:Working Directory
Working Directory
Commands execute from the site’s root directory:
/home/loupp/yourdomain.com
User Context
User Context
Commands run as the
loupp
user with appropriate permissionsTimeout Limits
Timeout Limits
Commands have a 2-minute timeout to prevent resource exhaustion
Running Commands
Basic Command Execution
1
Access command interface
Navigate to your site dashboard and click on the “Commands” tab.
2
Enter command
Type your command in the text area:
3
Execute command
Use one of these methods to run the command:
- Click “Run” button
- Press
Cmd + Enter
(macOS) - Press
Ctrl + Enter
(Windows/Linux)
4
Monitor execution
Track command status and view output in real-time.
Command Input Tips
Multi-line Commands
Multi-line Commands
File Operations
File Operations
Command History Management
Viewing Command History
All executed commands are automatically logged with detailed information:Command Details
- Full command text
- Execution timestamp
- User who ran the command
Execution Status
- Running status
- Success/failure indicators
- Execution time tracking
Output Results
- Command output
- Error messages
- Return codes
Command History Interface
1
Access history
Scroll down to the “Command History” section below the command input.
2
Review commands
Each command entry shows:
- Command text (clickable to re-run)
- Execution date and time
- Relative time (e.g., “2 hours ago”)
- Current status
3
View details
Click “View Details” to see full command output and execution information.
Reusing Commands
1
Select previous command
Click on any command in the history to automatically populate the input field.
2
Modify if needed
Edit the command before execution if you need to make changes.
3
Execute modified command
Run the command with your modifications.
Common Use Cases
Laravel Application Commands
Artisan Commands
Artisan Commands
Composer Operations
Composer Operations