Install the complete package with local command reference and every published mode.
install historyhistoryThe up-arrow command list and the terminal transcript are not the same.
Need the previous command’s textual output again?
A transcript may reveal paths, file contents and other private data. Recording is disabled by default, skips known secret-bearing commands and password prompts, and retains up to 400 entries / 1 MiB in .lil.log.php. These filters do not guarantee that every possible secret is excluded.
history [-c|-o|-l [on|off|clear]]historyshow numbered browser command
history -cclear browser command
history -oshow the last terminal result stored in the current PHP session
history -lshow the persistent terminal transcript
history -l onenable persistent command and output recording
history -l offdisable persistent recording without deleting the transcript
history -l cleardelete the persistent transcript
Persistent recording is disabled by default. Its enabled state is stored in the .lil.key. The transcript is stored separately in .lil.log.php as bounded newline-delimited JSON. The file starts with an executable PHP 404 guard, is limited to 400 entries and 1 MiB, rejects symbolic links and is written atomically with restrictive permissions.
When persistent
Terminal output can contain paths, database rows, environment values or other project data. Enable persistent
Persistent recording does not save commands that may contain credentials (database/mail/PHP commands, authorization headers, cookies, secrets).
Need the previous command’s textual output again?
Run
A transcript may reveal paths, file contents and other private data. Recording is disabled by default, skips known secret-bearing commands and password prompts, and retains up to 400 entries / 1 MiB in .lil.log.php. These filters do not guarantee that every possible secret is excluded.
In Minimum,
Run the prepared examples directly on the page. Their results are prebuilt and shown in the browser; no terminal command is executed on the server.
Install the current compatible version. Choose Base for the complete feature set or Minimum for the reduced package; use upgrade to update a module that is already installed.
Base and Minimum are two packages of the same current module release, not separate command versions.
Install the complete package with local command reference and every published mode.
install historyInstall the reduced package. Local reference is omitted;
install history -mInstall exactly this published version.
install history -v 1.2.5Ask upgrade to check compatibility and replace the installed block only when needed.
upgrade historyRemove the extension block while leaving the core and unrelated modules intact.
install history -uExamples are copyable command lines, not actions executed by this website. Review paths, permissions and destructive flags before running them on a real project.
historyPreview only — the visitor’s terminal is not changed.
The browser displays its recent commands:
001 pwd
002 dir
003 historyhistory -oPreview only — the visitor’s terminal is not changed.
Previously calculated: 12history -cPreview only — the visitor’s terminal is not changed.
Browser command history cleared.history -lPreview only — the visitor’s terminal is not changed.
001 pwd
/sandbox
002 dir
index.phphistory -l onPreview only — the visitor’s terminal is not changed.
Persistent history: onhistory -l offPreview only — the visitor’s terminal is not changed.
Persistent history: offhistory -l clearPreview only — the visitor’s terminal is not changed.
Persistent history clearedhistory -l on | history -lPreview only — the visitor’s terminal is not changed.
001 pwd
/sandbox
002 dir
index.phphistory -l off | history -lPreview only — the visitor’s terminal is not changed.
001 pwd
/sandbox
002 dir
index.phphistory -l clear | history -lPreview only — the visitor’s terminal is not changed.
(empty)history -l maybePreview only — the visitor’s terminal is not changed.
?history -l statusPreview only — the visitor’s terminal is not changed.
?history -o extraPreview only — the visitor’s terminal is not changed.
?history -c extraPreview only — the visitor’s terminal is not changed.
?history --unknownPreview only — the visitor’s terminal is not changed.
?history -l ONPreview only — the visitor’s terminal is not changed.
Persistent history: onhistory -l clear laterPreview only — the visitor’s terminal is not changed.
?pwd | history -oPreview only — the visitor’s terminal is not changed.
Previously calculated: 12history -o > sandbox/tmp/last-output.txtPreview only — the visitor’s terminal is not changed.
Text saved using the core output operator: sandbox/tmp/last-output.txt
No files are modified by the Play example.Current stable release of