- Install texlive
- chmod +x teksh.tex
- invoke teksh.tex
$ ./teksh
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018/Arch Linux) (preloaded format=latex)
\write18 enabled.
entering extended mode
LaTeX2e <2018-04-01> patch level 5
(./teksh.tex (/usr/share/texmf-dist/tex/latex/base/minimal.cls
Document Class: minimal 2001/05/25 Standard LaTeX minimal class
) (/usr/share/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/share/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
\command=fortune
The bland leadeth the bland and they both shall fall into the kitsch.
\command=ls
README.md teksh teksh.log teksh.tex
\command=