Use the site Web Terminal carefully
Learn to prepare one site command, choose a time limit and interpret the Web Terminal result. These real product screens use fictional commands and responses. No site command or host operation runs in this demonstration.
Demonstration: Herne 3.55.43, English interface and synthetic English narration, fictional Northstar Studio. Local fictional responses illustrate the real terminal controls. No site command, tenant file read or host operation runs. Complete text and subtitles are available in six languages.
English audio · 6 min 13 sec · Subtitles in all six site languages.
1. Open the intended site
Learn to prepare one site command, choose a time limit and interpret the Web Terminal result. These real product screens use fictional commands and responses. No site command or host operation runs in this demonstration.
Open the intended site, then Runtime and Terminal. Confirm the domain before entering anything. The current panel checks site view permission for both this screen and its command endpoint. Terminal access still requires care: a permitted command may change application data.
Read the working directory in the terminal header and opening message. This screen starts each request in the site's web_root project directory, even when the public document root points to its public subdirectory. There is no directory picker here; a previous command does not set the next request's directory.
2. Prepare a command and time limit
Enter one complete, reviewed command in the input below the output. Unlike the Artisan screen, this field adds no php artisan prefix. Our fictional proposal is php -v. Keep arguments specific, avoid secrets, and review pasted text before submitting; the server accepts at most one thousand twenty-four characters.
Decide what the command can read or change before Run. Site isolation and syntax checks do not prove that a script is harmless, that its database target is correct, or that a network request is safe. Even an inspection request may cause Herne to prepare the shell account, runtime directories and permissions.
Leave Extended unchecked for a short task. The normal command deadline defaults to thirty seconds. Server configuration can change the profiles, so the interface label is not a measurement of elapsed time. Choose the smallest suitable profile after understanding the task; a longer deadline does not repair a failing command.
3. Submit a bounded request
Select Extended only for a reviewed task known to need more time. Its default is ten minutes, subject to the configured maximum and the runner's fifteen-minute ceiling. It does not create a background job or bypass resource controls. The checkbox remains selected for later commands on the same page, so check it again before each submission.
Run or Enter submits the command for execution; it is not a preview. The input clears, the command appears in the output and Run shows a waiting state. The browser receives the output after the synchronous request finishes, not as a live interactive stream. Do not send another command while the first result is unresolved.
Each submission starts a separate managed process as the site's unprivileged shell account. This is not a persistent SSH session: directory changes and shell variables do not carry into the next request. Interactive prompts, detached processes and long-lived services do not belong here. Use the panel's dedicated deployment, queue and scheduler workflows for those tasks.
| Control | Meaning | Limitation |
|---|---|---|
| Normal | Extended unchecked; default 30 seconds | Subject to server configuration and request limits |
| Extended | Default 10 minutes | No background job; runner ceiling 15 minutes |
| Clear | Clears terminal display | No cancellation, rollback or history deletion |
4. Understand restrictions and runtime
Use one command with reviewed relative arguments. Pipes, background operators, command substitution and several redirection sequences are blocked. Parent traversal, absolute path arguments, variable expansion and home expansion are also rejected. Do not treat this as a script editor or try alternate spelling to evade a refusal.
Our fictional ls .. result shows the path refusal and exit code one hundred twenty-six. This identifies a command guard, not a missing file or an application crash. Read the reason and choose an approved task inside the intended site. Do not add root privileges, weaken restrictions or retry the same blocked request.
The fictional php -v output describes the command-line PHP executable, not the site's web PHP process. The terminal resolves tools through the server execution path, so PHP versions and extensions can differ from PHP-FPM. Confirm the actual runtime needed by the task; changing the website version alone does not prove which command-line executable will run.
5. Read output and recall commands
Read the command, output and any red exit line together. The terminal displays a nonzero exit code; a zero code normally has no extra exit line. Our missing-path example has exit code two. Empty output or a zero result does not verify application health, and a failed command may still have completed some changes.
An unreadable, incomplete or failed HTTP response is a request problem, not proof that no command ran. Proxy, web server or PHP-FPM limits may end the response before the managed command deadline. Keep the time and task details, inspect managed results and the application state, and resolve uncertainty before another submission.
Use the Up and Down arrows in the input to recall commands kept on this page. Recall only fills the field; Run or Enter executes it again. This browser history is not a durable audit record and reload starts a fresh page. Review the site, arguments and Extended selection again before reusing a command.
6. Preserve evidence and verify
Clear clears the terminal display and writes a screen-cleared message. It does not undo file or database changes, cancel a running request, or erase the page's command history. Save necessary evidence privately before clearing. Output, command history and screenshots can contain secrets even when the example here is fictional.
For timeout, missing output or cleanup warnings, inspect Settings, Resource policy and Managed process results. Match the recent run with the task and time; read the recorded outcome and cleanup status. These records do not preserve raw command output. An exit code alone does not prove memory exhaustion, successful cleanup or an unchanged application.
Verify the intended application result separately after a completed command. For a state-changing task, use the reviewed backup and recovery procedure rather than assuming a failed request rolled anything back. Retry only when the previous outcome is understood and repetition is safe. Stop when the task is confirmed; do not turn troubleshooting into repeated execution.