sh.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 02 Nov 2011 15:08:44 +0200
changeset 1074 215246e12572
parent 890 6f835a47d0e0
permissions -rw-r--r--
http://www.koders.com/

-*- mode: outline; coding: utf-8 -*-

* Kill processes after timeout.

  $ yes xxx& p1=$! ; yes ===& p2=$! ; sleep 2; kill $p1; kill $p2