L3SYS-QUERY(1)
β¨ l3sys-query(1) β¨
okay so bestie, welcome to the General Commands Manual entry for l3sys-query π
this is the group chat where TeX gets to peek at your system, and honestly? it's giving β¨competentβ¨
πΈ NAME πΈ
l3sys-query β the little script that lets your TeX run ask the system questions π«Ά
π SYNOPSIS π
l3sys-query <cmd> [<options>] [<args>]
π¦ DESCRIPTION π¦
So the l3sys-query script is literally a whole method for TeX runs to get system information, and it does that via shell escape to Lua β¨
Is it as powerful as the similar Java script texosquery? no babe, the facilities are more limited, and that's just the truth π but here's the slay: because it uses Lua, l3sys-query can be used 'out of the box' with any installed TeX system π no extra setup, no cap.
And the security girlies ate: the script is written taking account of the TeX Live security requirement, so it's suitable for use with restricted shell escape β which is the <em>standard setting</em> when you install a TeX system π
bestie this matters. restricted shell escape is the default, and this thing was built with that in mind. it's not a "disable your security" situation, iykyk π
β COMMANDS β
valid <cmd>s, periodt:
lsβ prints a listing based on the<args>and<options>πpwdβ prints the present working directory π§
π OPTIONS π
valid <options>, and yes we're doing all of them, no skipping:
--exclude[<xarg>]β excludes entries from the directory listing π--help,-hβ prints this message and exits π--ignore-caseβ ignore case when sorting the directory listing π₯--pattern,-pβ treat the (x)args as a Lua pattern β¨--recursive,-rβ activates recursive directory listing π--reverseβ reversing the sorting order π--sort[name|date]β the method used to sort the directory listing β--type[d|f]β select just the directories or the files in a listing π--version,-vβ prints version information and exits π
π SEE ALSO π
- full manual available via
texdoc l3sys-queryπ - repository:
https://github.com/latex3/l3sys-queryπ - bug tracker:
https://github.com/latex3/l3sys-query/issuesπ
π AUTHORS π
Copyright (C) 2024 The LaTeX Project π«Ά
not me ending this the correct way: this page is from LaTeX, dated 2024-04-08, and it's the L3SYS-QUERY(1) entry bestie π
β¨ slay, go query your system π¦
π¦ where this page comes from
- arch rolling: texlive-doc 2026.1-1 Β· GPL
- debian trixie: texlive-extra-utils 2024.20250309-2
- fedora 44: texlive-l3sys-query 12:svn77682-105.fc44 Β· MIT
- fedora 44: texlive-l3sys-query 12:svn77682-111.fc44 Β· MIT
- opensuse-leap 16.0: texlive-l3sys-query-doc 2025.221.svn70889-160000.3.1 Β· LPPL-1.0
- ubuntu questing: texlive-extra-utils 2024.20250309-2
- ubuntu resolute: texlive-extra-utils 2025.20260124-1
- ubuntu stonking: texlive-extra-utils 2026.20260711-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms