Install the complete package with local command reference and every published mode.
install modmoduses PHP filesystem functions to change UNIX permissions and timestamps
Create a temporary file with
mod [path] [-0755|-m 0755] [-YYYYMMDD] [-HHMMSS] [-o|-s]mod [path]inspect metadata using stat (read-only)
mod <path> -0755set octal permissions directly
mod <path> -m 0755set permissions in UNIX mode format through the mode option
mod <path> -20251225set the date
mod <path> -121008set the time in HHMMSS format
mod <path> -20251225 -121008set the date and time
mod <path> ... -ochange only the access time
mod <path> ... -schange only the modification time
Dates use -YYYYMMDD and times use -HHMMSS; you can combine them or provide just one. By default both access time and modification time are updated. -o selects only access time; -s only modification time. Without a date or time, those flags do not change anything. Timestamps use the server PHP timezone.
Plain 0777 unless genuinely needed.
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 modInstall the reduced package. Local reference is omitted;
install mod -mInstall exactly this published version.
install mod -v 1.1.4Ask upgrade to check compatibility and replace the installed block only when needed.
upgrade modRemove the extension block while leaving the core and unrelated modules intact.
install mod -uExamples are copyable command lines, not actions executed by this website. Review paths, permissions and destructive flags before running them on a real project.
modPath sandbox
Type directory
Items 16
Permissions 0755 drwxr-xr-x
Modified 2026-08-11 18:40:00mod \sandbox\feed.xmlPath sandbox/feed.xml
Type file
Extension xml
Size 127 b (127 B)
Permissions 0644 -rw-r--r--
Modified 2026-08-11 18:40:00@mf \sandbox\tmp\permissions.txt | mod \sandbox\tmp\permissions.txt -0600README.txt
current.txt
draft.txt
new.txt
permissions.txt
Path sandbox/tmp/permissions.txt
Type file
Extension txt · @code · @edit
Size 0 b (0 B)
Permissions 0600 -rw-------
Modified 2026-08-11 18:40:00@mf \sandbox\tmp\permissions.txt | mod \sandbox\tmp\permissions.txt -m 0644README.txt
current.txt
draft.txt
new.txt
permissions.txt
Path sandbox/tmp/permissions.txt
Type file
Extension txt · @code · @edit
Size 0 b (0 B)
Permissions 0644 -rw-r--r--
Modified 2026-08-11 18:40:00@mf \sandbox\tmp\permissions.txt | mod \sandbox\tmp\permissions.txt -20251225README.txt
current.txt
draft.txt
new.txt
permissions.txt
Path sandbox/tmp/permissions.txt
Type file
Extension txt · @code · @edit
Size 0 b (0 B)
Permissions 0644 -rw-r--r--
Modified 2025-12-25 18:40:00@mf \sandbox\tmp\permissions.txt | mod \sandbox\tmp\permissions.txt -121008README.txt
current.txt
draft.txt
new.txt
permissions.txt
Path sandbox/tmp/permissions.txt
Type file
Extension txt · @code · @edit
Size 0 b (0 B)
Permissions 0644 -rw-r--r--
Modified 2026-08-11 12:10:08@mf \sandbox\tmp\permissions.txt | mod \sandbox\tmp\permissions.txt -20251225 -121008README.txt
current.txt
draft.txt
new.txt
permissions.txt
Path sandbox/tmp/permissions.txt
Type file
Extension txt · @code · @edit
Size 0 b (0 B)
Permissions 0644 -rw-r--r--
Modified 2025-12-25 12:10:08@mf \sandbox\tmp\permissions.txt | mod \sandbox\tmp\permissions.txt -20251225 -o | @stat \sandbox\tmp\permissions.txt -fpermissions.txt
Path sandbox/tmp/permissions.txt
Type file
Extension txt
Size 0 b (0 B)
Permissions 0644 -rw-r--r--
Modified 2026-08-11 18:40:00
Modified 2026-08-11 18:40:00
Accessed 2025-12-25 18:40:00@mf \sandbox\tmp\permissions.txt | mod \sandbox\tmp\permissions.txt -20251225 -s | @stat \sandbox\tmp\permissions.txt -fpermissions.txt
Path sandbox/tmp/permissions.txt
Type file
Extension txt
Size 0 b (0 B)
Permissions 0644 -rw-r--r--
Modified 2025-12-25 18:40:00
Modified 2025-12-25 18:40:00
Accessed 2026-08-11 18:40:00mod \sandbox\missing.txt -0644Path not found@mf \sandbox\tmp\permissions.txt | mod \sandbox\tmp\permissions.txt -20251344Invalid date or timesandbox/tmp/README.txtThe example uses a file or directory from the protected /sandbox/ documentation workspace.
lil-terminal sandbox temporary workspace
Commands in the public documentation use this directory for disposable copies,
archives, uploads and files created during examples. Review destructive commands
before running them and restore the sandbox from the release package when needed.