help

help 是终端的导航入口:它显示可用命令、本地与服务器参考、公开文档、仓库目录以及界面的系统操作符。

系统版本 1.4.8稳定
lil-terminal

概览

把 help 当作终端的地图,而不是静态命令列表:本地参考反映实际安装状态,-i 打开服务器参考,-l 打开公开文档,@command 则可在缺少时安装对应包并直接继续执行命令。

选择合适的帮助深度

先用 help <cmd> 查看精简的本地契约,help <cmd> -i 查看当前服务器参考,help <cmd> -l 打开解释更完整的网站页面。help -a 回答的是另一个问题:仓库里有哪些模块可安装。

语法

lil-terminal
help [cmd] [-i|-l] · help -a · help me · help license

参考

help

显示已安装命令和别名

help -a

显示仓库中的全部模块

help <cmd>

显示命令的本地参考

help <cmd> -i

显示命令的服务器参考

help <cmd> -l

显示公开文档链接

help hotkeys

显示键盘快捷键

help aliases

显示有效命令别名

$

再次使用最后声明的文件路径(例如 @echo $)

@<cmd> [args]

静默安装缺少的包,然后执行命令

<cmd> | <cmd> | ...

从左到右依次执行命令

<cmd> [args] > <file>

显示文本结果并将其追加到文件

<cmd> [args] > <file> -r

显示文本结果并替换文件

<cmd> [args] > <file> -a

显式选择追加模式

<file>

如果扩展名已声明处理器则打开文件

<file.lil> [-s] [-r]

从文件执行 lil 脚本

<file.lil> -s

执行时显示脚本中的每条命令

<file.lil> -r

仅在成功执行后删除脚本

帮助层级

实际操作时建议先看本地参考:它刻意保持简短,便于快速浏览。-i 打开命令的服务器参考,-l 打开 lil.dog 上对应的公开页面以便深入阅读。help -a 以紧凑的五列网格显示整个仓库目录;普通 help 只列出当前安装中可用的命令。

键盘快捷键

help hotkeys 只说明当前已安装界面包真正实现的快捷键。在桌面端,可选的 hotkeys 包可以显示被动式底部提示条;help hotkeys -on 与 -off 控制当前会话中的显示状态。移动端不会创建该提示条。编辑器快捷键保持编辑器语义,而在空终端输入框中使用的快捷键作用于上一条终端结果。 点击桌面提示栏的任意位置都会执行 help hotkeys,并打开完整的快捷键参考。

自动命令前缀

交互命令可以 @ 开头。若命令已存在,则立即执行;若缺少对应包,lil-terminal 会从默认仓库静默安装它,并在不完整刷新页面的情况下继续原始请求;@command 行仍保留在屏幕上。该快捷方式不会选择 Minimum、精确的历史版本或自定义仓库。次级命令名会解析到其所属模块。

@<cmd> [args]

静默安装缺少的包,然后执行命令

线性执行

界面可用未加引号的顶层 | 分隔符从左到右依次执行普通命令。前一条结束后才开始下一条,第一次失败即停止整个序列。首行为 #lil 的 UTF-8 .lil 文件可以直接输入路径执行;< file.lil 是同一操作的显式形式。需要变量、条件、结果捕获、嵌套脚本或打包工作流时请使用 run。

直接执行 .lil 文件时默认采用安静模式:终端只显示命令结果和状态。需要检查或诊断脚本时可使用 -s,同时显示脚本中的命令。使用 -r 时,只有全部命令成功后才会删除原脚本;只要出现失败,脚本就会保留。

<cmd> | <cmd> | ...

从左到右依次执行命令

<file.lil> [-s] [-r]

从文件执行 lil 脚本

<file.lil> -s

执行时显示脚本中的每条命令

<file.lil> -r

仅在成功执行后删除脚本

输出重定向

末尾的 > <file> 操作符会把命令的文本结果写入文件,同时在屏幕上保留相同结果。路径从当前工作目录解析。默认追加到已有文件;-r 替换目标文件。接收值的命令使用 :,因此 > 在整个系统中只有一个含义:输出重定向。

<cmd> [args] > <file>

显示文本结果并将其追加到文件

<cmd> [args] > <file> -r

显示文本结果并替换文件

<cmd> [args] > <file> -a

显式选择追加模式

Minimum 包

Minimum Help 保留已安装命令索引和当前服务器参考,但有意省略仓库目录、公开链接、快捷键管理和别名清单。只有 @more 本地注释的模块不会保存本地参考。

功能依赖

带 @module 标记的本地参考行只在相应可选模块可用时显示。完整服务器参考保留该标记,使功能仍然可被发现。

支持项目

help me 显示已公布的 USDT、Bitcoin 和 Ethereum 地址。支持完全自愿,用于维护免费核心、文档、测试和后续版本。向没有 SSH 的开发者和虚拟主机用户推荐 lil-terminal,同样是对项目的帮助。 支持信息会在每次请求时从仓库读取,因此钱包地址可以在不更换已安装 Help 模块的情况下更新。

help me

支持 lil-terminal

商业许可

help license 将许可信息拆成简短独立段落,而不是拥挤的表格。核心第 1 代的个人非商业使用永久免费。商业或组织使用在 40 天评估期后,需要为每个正在运行的生产部署购买一份许可。该许可对核心第 1 代永久有效,不要求 DRM,也不要求强制联网校验。 许可信息会在每次请求时从仓库读取,因此价格、文字和批准日期可以在不更换已安装 Help 模块的情况下保持最新。

help 以多列显示已安装命令,每个命令最多附带三个别名。help <cmd> 显示全部有效别名。

help license

显示个人与商业许可条件

交互式 sandbox 预览

可直接在页面中运行预先准备的示例。结果已预先生成并在浏览器中显示;服务器不会执行任何终端命令。

显示已安装命令和别名

安装与管理

安装当前兼容版本。完整功能请选择 Base,精简包请选择 Minimum;已安装模块的更新请使用 upgrade。

Base 与 Minimum 是同一当前模块版本的两个包。

Base 包

安装包含本地参考和全部已发布模式的完整包。

install help
Minimum 包

安装精简包。该包不包含本地参考;help <cmd> -i 会打开当前服务器参考。

install help -m
精确公开版本

安装这个确切的已发布版本。

install help -v 1.4.8
检查或升级

让 upgrade 检查兼容性,仅在需要时替换已安装块。

upgrade help
删除模块

删除扩展块,不影响核心和其他模块。

install help -u

示例

示例可复制,但网站不会执行。请先检查路径、权限和破坏性选项。

显示已安装命令和别名
help
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
help [cmd] [-i|-l] · help -a · help me · help license

help	show installed commands in a compact grid
help -a	show all repository modules
help <cmd>	show the local reference and active aliases
help <cmd> -i	show the server command reference
help <cmd> -l	show the public documentation link

help hotkeys	show keyboard shortcuts
help aliases	show active command aliases

$	reuse the path of the file declared last (for example, @echo $)
@<cmd> [args]	silently install a missing package, then run the command
<cmd> | <cmd> | ...	run commands sequentially from left to right
<cmd> [args] > <file>	show textual output and append it to a file
<cmd> [args] > <file> -r	show textual output and replace the file

<file>	open a file (when a handler for its extension is registered)
<file.lil> [-s] [-r]	run a lil script from a file
<file.lil> -s	show each script command while it runs
<file.lil> -r	remove the script only after successful execution

help me	support lil-terminal
help license	show personal and commercial license terms

cd
dir [ls]
doctor
find
help
log
php
pwd
显示仓库中的全部模块
help -a
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
doctor  help  log  mysql  zip
显示命令的本地参考
help doctor
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
doctor [group] [-q|-j]

doctor	check everything
doctor platform	show PHP, SAPI, limits, session and OPcache checks
doctor extensions	show PHP extension checks
doctor files	check project paths, permissions and storage
doctor repo	check the lil repository
doctor security	check HTTPS, authorization and cookies

-q	show warnings and failures only
-j	return machine-readable JSON
显示命令的服务器参考
help doctor -i
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
Run structured grouped checks for the lil-terminal runtime, storage, repository and security.

doctor [group] [-q|-j]

doctor	check everything
doctor platform	show PHP, SAPI, limits, session and OPcache checks
doctor extensions	show PHP extension checks
doctor files	check project paths, permissions and storage
doctor repo	check the lil repository
doctor security	check HTTPS, authorization and cookies

-q	show warnings and failures only
-j	return machine-readable JSON
@more


With -q, individual OK checks are hidden; summary totals still count every check.
显示公开文档链接
help doctor -l
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
https://lil.dog/docs/diagnostics/doctor
显示命令的本地参考
help log
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
log [<file>|<dir>] [-h] [-n <lines>] [-g <text>] [-i] [-l] [-r]

log	show the newest detected log (last 10 lines)
log <file>	read a specific log file
log <dir>	find a log inside a directory
log -l	list detected logs
log <dir> -l	list logs inside a directory

-h	read from the beginning instead of the end
-n <lines>	show 1–50000 physical lines
-g <text>	filter lines containing literal text
-i	ignore case when used with -g
-r	show the original lines without formatted entries
显示命令的服务器参考
help log -i
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
log manual

Overview

Read-only log viewer for PHP and common server/application logs. With no argument, selects the newest log found around the working directory and the terminal. An explicit directory searches that location rather than treating it as a file.

Usage

log [<file>|<dir>] [-h] [-n <lines>] [-g <text>] [-i] [-l] [-r]

Reference

log	show the newest log (last 10 lines)
log <file>	read a specific log file
log <dir>	discover logs in this directory
log -l	list detected files
log <dir> -l	list logs inside one directory
-h	read from the start instead of the end
-n <lines>	set the number of physical lines from 1 to 50000
-g <text>	retain lines containing literal text
-i	ignore case when used with -g
-r	show original ungrouped lines

Discovery

For an explicit directory, search first for common names (error_log, error.log, PHP error logs, debug.log, app.log, and access logs) at its root, then in logs, log, storage/logs, var/log, app/logs and tmp. Recognized names take priority; other *.log and *_log files follow. Only regular files are selected. Without a directory, the newest detected candidate is used. Discovery is not a recursive scan of the entire hosting account.

Reading and display

Read by streaming, with bounded output. The default output groups timestamped events into entries, puts the time on its own line, highlights only the severity label in Base UI and keeps stack traces together. Each event has a blank separation. Without the Base interface the formatted output remains readable plain text. -r displays original lines. -g matches individual physical lines, so context lines not matching the filter are intentionally not returned. -i requires -g.

Security and limits

The command never changes source files. Binary files are rejected; paths use the existing runtime path resolver. Output is capped to approximately 1.5 MiB, tail reads to 16 MiB and filtered scan to 64 MiB. The command does not change PHP logging configuration or expose logs unauthenticated.
显示公开文档链接
help log -l
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
https://lil.dog/docs/diagnostics/log
显示命令的服务器参考
help help -i
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
help manual

Overview

help is the terminal navigation point. It lists what is available in the current installation, shows the compact local reference, fetches the server reference, points to the public documentation page and explains system operators handled before an individual module runs.

Usage

help [cmd] [-i|-l] | help -a | help me | help license

Command reference

help	show installed commands and aliases
help -a	show all repository modules
help <cmd>	show the local reference and active aliases
help <cmd> -i	show the server command reference
help <cmd> -l	show the public documentation link

help hotkeys	show keyboard shortcuts
help aliases	show active command aliases

$	reuse the path of the file declared last (for example, @echo $)
@<cmd> [args]	silently install a missing package, then run the command
<cmd> | <cmd> | ...	run commands sequentially from left to right
<cmd> [args] > <file>	show textual output and append it to a file
<cmd> [args] > <file> -r	show textual output and replace the file
<cmd> [args] > <file> -a	explicitly select append mode

<file>	open a file (when a handler for its extension is registered)
<file.lil> [-s] [-r]	run a lil script from a file
<file.lil> -s	show each script command while it runs
<file.lil> -r	remove the script only after successful execution

Help levels

For everyday work, start with the local reference: it is deliberately compact and quick to scan. -i fetches the current server reference, while -l points to the corresponding public page on lil.dog for deeper reading. help and help -a both use compact multi-column command inventories in Base. Plain help begins with the essential usage and lists only installed commands, with at most three aliases beside each name. help -a lists repository modules and marks those already installed; help <cmd> gives the full active alias list for that command.

Keyboard shortcuts

help hotkeys reflects shortcuts implemented by the installed interface packages. On desktop, the optional hotkeys package can show a passive reminder rail; help hotkeys -on and help hotkeys -off change its visibility for the current session. The rail is not generated on mobile. Editor shortcuts keep their editor meaning, while shortcuts used on an empty terminal command line operate on the most recent terminal result. Clicking anywhere on the desktop rail runs help hotkeys and opens the complete shortcut reference.

Active file

$ resolves to the path of the file declared most recently by an operation that opened, created or wrote a file. It can be passed anywhere a file argument is expected. When the active file itself has a registered extension handler, entering $ as a bare command opens it through that handler.

$	reuse the path of the file declared last (for example, @echo $)

Automatic command prefix

An interactive command may start with @. If the target already exists, it runs immediately. Otherwise lil-terminal silently installs the missing package from the default repository and continues the original command without a full page reload. Secondary command names resolve to the module that owns them.

@<cmd> [args]	silently install a missing package, then run the command

Linear execution

The interface can execute ordinary commands sequentially with an unquoted top-level | separator. Each command starts after the previous command completes, and the sequence stops at the first failure. A UTF-8 .lil file whose first line is #lil can be launched by entering its path; < file.lil is the explicit form of the same operation. Use run when variables, conditions, capture, nested scripts or packed workflows are needed.

Direct .lil execution is quiet by default: the terminal shows command results and statuses without echoing every source command. Use -s when source commands are useful for review or diagnostics. With -r, the original script is removed only after successful execution; a failed script is retained.

<cmd> | <cmd> | ...	run commands sequentially from left to right
<file.lil> [-s] [-r]	run a lil script from a file
<file.lil> -s	show each script command while it runs
<file.lil> -r	remove the script only after successful execution

Output redirection

The final > <file> operator mirrors a command's textual result to a file while keeping the same result on screen. Paths resolve from the current working directory. Existing files are appended by default; -r replaces the destination. Commands that accept values use :, leaving > with one system-wide meaning: output redirection.

<cmd> [args] > <file>	show textual output and append it to a file
<cmd> [args] > <file> -r	show textual output and replace the file
<cmd> [args] > <file> -a	explicitly select append mode

File dispatch

A bare filename is opened only when an installed module has registered a handler for its extension. The same rule applies to the active-file token $ when it is entered as a bare command. This shortcut never installs a file handler automatically.

<file>	open a file (when a handler for its extension is registered)

Minimum package

Minimum Help keeps the installed-command index and current server reference but deliberately omits the repository catalog, public links, shortcut management and alias inventory. Modules whose local comments contain only @more do not keep a local reference.

Feature dependencies

A local reference row marked with @module is shown only when the corresponding optional module is available. The server reference keeps the marker so the capability remains discoverable.

Project support

help me shows the currently published USDT, Bitcoin and Ethereum addresses. Support is voluntary and helps maintain the free core, documentation, testing and future releases. Recommending lil-terminal to developers and hosting users who work without SSH also supports the project. The support view is fetched from the repository when requested, so wallet addresses can change without replacing the installed Help module.

help me	support lil-terminal

Commercial licensing

help license presents the current licensing policy as short readable blocks rather than a dense table. Personal noncommercial use of core generation 1 is free with no time limit. Commercial or organizational production use requires one license per active deployment after the 40-day evaluation period. The license is perpetual for core generation 1 and does not require DRM or mandatory server checks. The view is fetched from the repository when requested, so pricing, wording and the approval date stay current without replacing the installed Help module.

help license	show personal and commercial license terms
显示键盘快捷键
help hotkeys
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
Enter	run the current command; insert a line break inside an editor
↑ / ↓	browse command history
⌃R	search backward through command history
Tab	complete a command; indent inside the code editor
Shift+Tab	outdent inside the code editor
⌃S / ⌘S	on an empty command line append the last result to history.log; in the code editor save without closing
⌃+Shift+S / ⌘+Shift+S	on an empty command line replace history.log with the last result
Shift+Enter	save and close the plain or code editor
⌃L / ⌘K	clear terminal output while the command line is active
⌃C / ⌘C	copy the last result when the active command line is empty; ⌃C otherwise cancels the current input
⌃U	clear the current command line
Escape	close an editor without saving, or cancel a hidden prompt
⌃+Shift+L / ⌘+Shift+L	open or hide the web terminal when embedded

Rail

help hotkeys -on	show the desktop shortcut reminder
help hotkeys -off	hide the desktop shortcut reminder
rail click	run @help hotkeys
显示键盘快捷键
help hotkeys -on
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
LIL_RELOAD
显示键盘快捷键
help hotkeys -off
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
LIL_RELOAD
显示有效命令别名
help aliases
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
aliases

read	echo
ls	dir
显示命令的本地参考
help linear
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
linear

<cmd> | <cmd> | ...	run commands sequentially from left to right and stop after the first failure
<file.lil> [-s] [-r]	run a lil script from a file
<file.lil> -s	show each script command while it runs
<file.lil> -r	remove the script only after successful execution
< <file.lil> [-s] [-r]	explicit form of the same linear file execution

#lil	required first line for a core linear script
# comment	ignored inside a linear script

Direct .lil execution is quiet by default: only command results and statuses are shown. Use -s when source commands themselves are useful for review or diagnostics. With -r, the original script is removed only after successful execution; a failed script is retained.
Linear execution uses ordinary terminal commands. It has no variables, conditions, loops or result-capture language; use run for workflow logic. Automatic @command installation and output redirection remain available inside a linear sequence.
支持 lil-terminal
help me
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
Training repository fixture: support details are fetched from the server; payment addresses intentionally omitted.
显示个人与商业许可条件
help license
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
Training repository fixture: read the current licence terms from the real repository before commercial use.
显示命令的本地参考
help missing_command
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
Manual not found
显示命令的服务器参考
help -i
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
Command required
显示公开文档链接
help -l
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
Command required
显示命令的服务器参考
help -a -i
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
?
显示命令的服务器参考
help doctor -i -l
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
?
显示命令的本地参考
help -a doctor
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
?
显示命令的本地参考
help -z
教学示例 — PHP 环境、服务器和仓库响应为模拟数据
Manual not found

相关文档

当前公开版本

v1.4.82026-10-31

已安装命令紧凑列表

以多列显示已安装命令。总览中每个命令最多显示三个别名,单个命令参考中显示所有有效别名。