To record command output in a file, set the o parameter to the name of the output file.
> set o=/home/examples/output.3c254030
To stop recording, use the unset command with the o parameter.
> unset o