The script
command typescripts of everything displayed on your terminal.
But sometimes when the output is in colors, it's complaining "output.txt" may be a binary file. See it anyway?
if output.txt
is the output of the session.
Is there a work-around?
ansi2txt
can be used to filter out the color escape codes.Fore more options see: https://stackoverflow.com/q/6534556/724406