LoginSignup
5

More than 5 years have passed since last update.

(今更)scriptコマンドで作業手順を保存

Posted at

今の今まで存在を知りませんでした... orz
scriptコマンドを使用するとそれ以降の終了(exit or C-d)するまでのコンソールへの出力をファイルに残せます。
使い方は以下のコマンドを実行するだけ

script <出力先のファイル名>

すでに存在するファイルに追記したい場合はaオプションでOK

script -a <追記するファイル>

インストール手順などを保存するときに便利です。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5