Get the App
SLTechnology News&Howtos  ›  Development  › 

How to record terminal output in linux

Shulou Source: shulou.com Published: 2022-06-01 04:17:29 09月22日 Update

Editor to share with you how to record the terminal output in linux, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Recording terminal output

Try using the script command line tool to create an output record for your terminal output.

Script my.terminal.sessio

Enter the command:

Ls datesudo service foo stop

To exit (end the script session), type exit or logout or press control-D.

Exit

To browse and enter:

More my.terminal.session less my.terminal.session cat my.terminal.session above is all the contents of the article "how to record Terminal output in linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Output terminals articles input content commands not much most tools more knowledge industry information information channels channels references learning help browsing Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Xiaomi Linux NVidia macOS