https://ostechnix.com/record-your-terminal-activity-using-script-command/
How To Record Your Terminal Activity Using Script Command In Linux