3 ms·
Why not use the built in `script` program? https://man7.org/linux/man-pages/man1/script.1.html https://man7.org/linux/man-pages/man1/script.1.html
by denvaar 4y ago
Why not use the built in `script` program? https://man7.org/linux/man-pages/man1/script.1.html https://man7.org/linux/man-pages/man1/script.1.html
- sdsd 4y agoHow is it possible, that I've worked as a Linux sysadmin, backend engineer, security developer, and technical writer (regularly sharing CLI snippets in articles), and regularly document my CLI work on my blog, and I'm just learning about this. Thank you for this comment lol
- avgcorrection 4y agoBecause the CLI is not discoverable. :)
- tyingq 4y agoIt's called "script" and it's default output file is called "typescript". Makes it pretty hard to Google for :)
- simmonmt 4y agoscript seems to require you to type the demo commands perfectly and at the right pace for the demo. That openssl command, for example. Contrast with this tool, where you can get the command right at your leisure then apply magic to look like it's being typed in interactively. The two steps (running commands, interactive typing with desired timing) are much easier to get right separately than together.
- tyingq 4y agoIt can export timing data that you can tweak. Pretty manual, though it does work.
- n8henrie 4y agoI've tried halfheartedly to learn to use `script` a few times, and each time I give up. Anybody know of a good tutorial on "why" and "how"?