From e72e0204fecaa9b69ce837d4df993ed1b5d75afb Mon Sep 17 00:00:00 2001 From: Benjamin Nichols-Farquhar Date: Sun, 28 Oct 2018 12:53:06 -0400 Subject: [PATCH] script: add page (#2485) --- pages/common/script.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/common/script.md diff --git a/pages/common/script.md b/pages/common/script.md new file mode 100644 index 0000000000..803e9b84ba --- /dev/null +++ b/pages/common/script.md @@ -0,0 +1,23 @@ +# script + +> Make a typescript file of a terminal session. + +- Start recording in file named "typescript": + +`script` + +- Stop recording: + +`exit` + +- Start recording in a given file: + +`script {{logfile.log}}` + +- Append to an existing file: + +`script -a {{logfile.log}}` + +- Execute quietly without start and done messages: + +`script -q {{logfile.log}}`