bash - How to Turn Off a Program Running from .bash_profile -


i working raspberry pi running linux, , have modified .bash_profile file in order run program i've made automatically upon login. works great, wondering how turn program off, since ctrl+c need running program in terminal.

you can use kill terminate program process id, top command list processes, can use pkill, terminate process name.

-9 option forces process shut down, commonly used.

example:

kill -9 "process id without quotation marks"

pkill -9 "name quotation marks (case sensitive)"


check this.


Comments

Popular posts from this blog

php - Passing multiple values in a url using checkbox -

compilation - PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20 -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -