finding a process id - Printable Version +- yab | yet another Basic for HAIKU (https://yab.orgfree.com/forum) +-- Forum: Programming in yab (https://yab.orgfree.com/forum/forumdisplay.php?fid=1) +--- Forum: Snippets (https://yab.orgfree.com/forum/forumdisplay.php?fid=3) +--- Thread: finding a process id (/showthread.php?tid=103) |
finding a process id - bbjimmy - 06-22-2018 Sometimes it is necessary to kioll a running process. This is not easy if the process id has not been saved. The following program finds the process id from the shell. I call the program: pid Code: #!yab This can be used in a shell script: Code: #!sh |