documentation
CLI flags
Command-line options for configuring the l environment, memory, threads, and network settings.
CLI options begin with a single hyphen.
Usage
l [file] [-option [parameters] ...]
With no file, l starts an interactive session.
Command-line options
| Option | Parameters | Description |
|---|---|---|
| -b | Block client write access to the database and file system. | |
| -e | mode | Error-trapping mode (0 off, 1 status, 2 debug). |
| -l | Log updates to the filesystem. | |
| -p | [host:]port | Listening port. |
| -q | Quiet mode: suppress the startup banner and prompt. | |
| -s | N | Secondary threads for parallel processing. |
| -t | N | Timer tick period in milliseconds (0 off). |
| -U | file | Password file for user authentication. |
| -w | MB | Maximum workspace memory, in megabytes. |
Examples
Quiet session on port 5001:
l -p 5001 -q
Run a script:
l script.q
Pipe input in:
cat script.q | l -q
Read-only database operations:
l -b