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
Post a Comment