Today I am explaining about a simple trick which helps you to record a terminal session. This will help you to keep a terminal session for future reference or tutorial purpose. The command used for this is script. It will be available for all Linux flavors by default.
1. Open your terminal Ctrl+Alt+T
2. Run the script command as given below.
Now the recording will be started and saved it to the file /tmp/records.txt.
3. Once you are done, you can stop recording by Ctrl+d.
4. Now you can check the recorded session using cat command.
If you like this post and wish to receive more articles from us, please like our FB page: Button
Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.
For more details on our services, please drop us an E-mail at firstname.lastname@example.org