The script command not only makes a record of what commands you run but also allows you to save the output generated so that you can examine it later or easily turn your command sequences into scripts ...
Linuxでは、シェルスクリプトを活用することで処理の自動化などが行える。システム管理のさまざまな場面でシェルスクリプトが使われており、管理機能がシェルスクリプトで作られていることもある。以下、It’s FOSSの「How to Run a Shell Script in Linux [Essentials ...