The script command not only makes a record of what commands you run but also allows you to save the output generated so that you can examine it later or easily turn your command sequences into scripts ...
Command script files are written as a sequence of commands, one command per line. The commands are executed one after the other, the execution of the next command being started when the answer to the ...