Questions tagged [pkill]
33 questions
0
votes
1 answer
kill a process that has been started using ./xxxxxxxxxxxx.sh using pkill
I am using Ubuntu 16.04 LTS. I run pycharm on remote desktop using ssh by:
cd /home/user/Documents/pycharm-community-2016.3/bin/ && ./pycharm.sh
I need to kill this process. For other process like firefox, I use the following:
pkill firefox
How do…

Neeraj Hanumante
- 1,575
- 2
- 18
- 37
0
votes
2 answers
Why does pkill kill my SSH session?
I want to do something like this:
program='java'
ssh bob@mycomputer "pkill -f $program; echo 'Done!'";
But, it seems like pkill is killing my ssh (I never see Done!). If I replace pkill with something else (say pwd), it works as expected.

pathikrit
- 32,469
- 37
- 142
- 221
-1
votes
4 answers
Killing a process in linux
I am trying to kill a process in linux
ps -aux
root 14074 0.0 0.4 6586120 67452 pts/0 Sl 22:45 0:01 java -cp target/cronscheduler-1.0-SNAPSHOT.jar com.cronscheduler.QuartzMain
Kill the process in the stop script using the below…

Zaks
- 668
- 1
- 8
- 30