Kill a process by giving dir
Posted
by
Gerculy Robert
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Gerculy Robert
Published on 2012-10-26T04:56:52Z
Indexed on
2012/10/26
5:16 UTC
Read the original article
Hit count: 261
I'm working on a Control Panel for SA-MP. Firstly I want to make a start and a close button.
The start button is done, I'm having some problems with the close button. I will host multiple server on same server with different IP.
My problem is , when I send a ssh command kill samp03srv kills all running apps. My question : Is there any way to kill an app using cd ?
Something like : pkill -9 -u root samp03svr cd ~~~~~/samp/RolePlay
Thanks.
© Ask Ubuntu or respective owner