Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • You can also use %n syntax to kill specific background jobs in this shell. Usually you issue kill %1 to kill the latest and the only background process. With more background processes, use jobs to see the list first. Commented Jan 1, 2014 at 15:29
  • @9000: Yes but the OP is running their commands in a script (./execute.sh) so getting jobs to work is much more problematic surely ? Commented Jan 1, 2014 at 15:33
  • @lain: certainly. I missed the point about the running from a script. Commented Jan 1, 2014 at 16:50