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

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

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

asp.net mvc - breakpoint on javascript in CSHTML? -