How can I kill a job that was initiated in another shell (terminal window or tab)?
9
votes
4
answers
20892
views
If I begin a process and background it in a terminal window (say
ping google.com &
), I can kill it using kill %1
(assuming it is job 1).
However if I open another terminal window (or tab) the backgrounded process is not listed under jobs
and cannot be killed directly using kill
.
**Is it possible to kill this process from another terminal window or tab?**
Note: I am using the Xfce Terminal Emulator 0.4.3 and bash (although if a solution exists in another common shell but not bash I am open to that as well)
Asked by DQdlM
(1553 rep)
Dec 11, 2012, 01:18 AM
Last activity: Apr 20, 2022, 09:31 AM
Last activity: Apr 20, 2022, 09:31 AM