update
[xogo.git] / stop.sh
1 #!/bin/sh
2
3 # https://stackoverflow.com/questions/13939038/how-do-you-run-a-command-for-each-line-of-a-file
4 while read pid; do
5 kill -9 -`ps p $pid -o pgid | grep "[0-9]\+" | tr -d " "`
6 done <.pid