command in script command [[email protected] ~]# script -a sessions-log.txt[[email protected] ~]# Syntax of Script command
2019-07-01
Script started on Fri 09 Jun 2017 06file is shell_record1 You can see that script indicates the filename. 2. Check the content of a recorded terminal
2014-05-30