Find the PID of the application you want to kill :
ps aux | grep "$appName" | grep -v 'grep'
Then use kill.(Ensure you have the privilege to kill it.)
kill "$PID"
ps aux | grep "$appName" | grep -v 'grep'
Then use kill.(Ensure you have the privilege to kill it.)
kill "$PID"
No comments:
Post a Comment