Can colorized output be captured via shell redirect? [duplicate]

One way to capture colorized output is with the script command. Running script will start a bash session where all of the raw output is captured to a file (named typescript by default).

Leave a Comment