Ubuntu save terminal content to log

1. Execute in the terminal

sudo script screen.log

The content will be saved to the screen.log file added to the current file
2. Execute the following command to stop saving

exit 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325560667&siteId=291194637