The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
2answers
44 views

cd to original location when recording session with “script” command

I have script log.txt in my bash profile; that creates a new sub process and records my entire session to log.txt. When I press cmd+t to open a new terminal usually this will open one in the same ...
1
vote
3answers
39 views

add timestamps to recorded session via “script” command

In my .bash_profile I have script -a -t 0 session.log which automatically records all terminal input/output into the session.log file. I know this command comes with an optional flag to record the ...
0
votes
1answer
34 views

Understanding scriptreplay timing file

I am trying to understand the timing files produced by the script command (which are supposed to be read by scriptreplay while running typescript files). The timing file is always made of two columns, ...
27
votes
6answers
20k views

Removing control chars (including console codes / colours) from script output

I can use the "script" command to record an interactive session at the command line. However, this includes all control characters and colour codes. I can remove control characters (like backspace) ...
3
votes
0answers
101 views

How to best track adventures of a novice administrator

I have this user that has limited sudo privileges, yet he manages to screw up from time to time. I would like to keep an eye on his adventures, so that I can reverse any damage with less digging. ...
16
votes
5answers
4k views

Typescript -terminal recording into video?

We need to make some videos about working with LaTex -documents here. We have the typescript and timing -files and now we need to convert them into videos to display them in answers. Basically, the ...
8
votes
2answers
771 views

How to know if you're in a typescript?

I'm using the script command to save all the output from the terminal to a file called typescript. Or script foo to save to the file foo. Now, let's say I'm going along typing command after command ...
3
votes
2answers
1k views

Convert a typescript file to a list of commands (history)

I wanted to record a linux session so I could use it as documentation for a "how to install" guide. I found something on the internet that suggested that the script command would be good for this, and ...