LoginSignup
0
0

More than 5 years have passed since last update.

リモートサーバーからログアウト、切断した後もコマンドを実行し続ける

Last updated at Posted at 2016-02-05

リモートサーバー等で、ターミナルを終了させたり、切断、ログアウトしてしまうと、実行中のコマンドも終了してしまいます。
帰りがけにコマンドを実行したい時や、コマンドの実行時間が予想以上に長い場合は、以下の通りコマンドを入力すると、ログアウト、切断した後にも、コマンドが終了せず実行し続けます

nohup [実行したいコマンド] &

例: nohup sleep 10000 &

0
0
0

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
0
0