jobs bg kill | コマンド

コマンド実行中にctrl+zで一時停止。
$ suspend %1 同じ。1はjob id

$ jobs
[1]-  Stopped                 sh s123.sh
[2]   Stopped                 php s123.php
[3]+  Stopped                 php s123.php
$ kill -HUP %1
[1]   ハングアップ      sh s123.sh
$ jobs
[2]-  Stopped                 php s123.php
[3]+  Stopped                 php s123.php
$ jobs
[2]-  Stopped                 php s123.php
[3]+  Stopped                 php s123.php
$ kill -HUP %2
[2]-  ハングアップ      php s123.php
$ jobs
[3]+  Stopped                 php s123.php
$ bg %3
[3]+ php s123.php &
   Yahoo!ブックマークに登録

This entry was posted on 月曜日, 1月 23rd, 2012 at 12:15 PM and is filed under Command, cent os. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.