Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
マシンに SSH で接続し、bash スクリプトを起動して、実行全体で人間の介入を必要としない 1 時間のテストを実行する必要があります。
実行中のスクリプトをシェルから切り離して、ターミナルを閉じてローカル コンピューターを好きなようにシャットダウンできる方法はありますか?
はい、使用しますnohup:
nohup
nohup ./program &
または、プログラムを内部screenまたは内部で開始してtmuxからデタッチします。
screen
tmux