In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2026-01-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Today, I will talk to you about how to understand capture and script in aix command. Many people may not understand it. In order to let everyone know more, Xiaobian summarizes the following contents for everyone. I hope you can gain something according to this article.
Copy screen to file (capture and script commands)
Use the capture command (which simulates a VT100 terminal) to copy whatever prints on the terminal to the file you specify. Use the script command to copy whatever is printed on the terminal to the file you specify without emulating the VT100 terminal.
Both commands are useful for printing terminal dialog records.
For example, to capture the terminal screen while simulating VT100, enter the following command at the prompt:
capture screen.01
The system displays information similar to the following:
Capture command is started. The file is screen.01.
Use ^P to dump screen to file screen.01.
You are now emulating a vt100 terminal.
Press Any Key to continue.
After entering the data and dumping the screen contents, press Ctrl-D or enter exit and press Enter to stop the capture command. The system displays information similar to the following:
Capture command is complete. The file is screen.01.
You are NO LONGER emulating a vt100 terminal.
Use the cat command to display file contents.
For example, to capture a terminal screen, enter the following command at the prompt:
script
The system displays information similar to the following:
Script command is started. The file is typescript.
All displays on the screen are now copied to typescript files.
To stop the script command, press Ctrl-D or enter exit and press Enter. The system displays information similar to the following:
Script command is complete. The file is typescript.
Use the cat command to display file contents.
After reading the above, do you have any further understanding of how to understand capture and script in aix command? If you still want to know more knowledge or related content, please pay attention to the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.