Timeline for Kill all background jobs
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 16, 2021 at 17:43 | comment | added | KamilCuk | Finally, this works and sends kill signal to all background process groups, sending it to all background processes. Parsing jobs output to find out jobs numbers, then passing job numbers to kill for jobspec is the way to go. Can be shortened a bit to for j in $(jobs | awk '{gsub("[^0-9]","",$1);print $1}'); do kill %$j; done. Thank you. | |
| Sep 14, 2020 at 2:11 | review | Late answers | |||
| Sep 14, 2020 at 5:11 | |||||
| Sep 14, 2020 at 1:56 | review | First posts | |||
| Sep 14, 2020 at 5:15 | |||||
| Sep 14, 2020 at 1:54 | history | answered | Frobozz | CC BY-SA 4.0 |