Forrest logo
back to the script tool

script:ai:39157

How to save a scrollback buffer to a file
$ script -f output.txt
try on your machine

This command will start a new shell and save all output, including the scrollback buffer, to a file named output.txt

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • how to save a scrollback buffer to a file ?
back to the script tool