tag:blogger.com,1999:blog-5826231862295491795.post1976030241763544620..comments2024-03-28T05:07:22.841-07:00Comments on Linux World: Finding the process id from its nametuxthinkhttp://www.blogger.com/profile/11642576082677583230noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-5826231862295491795.post-33665187144959290342012-05-22T10:30:22.365-07:002012-05-22T10:30:22.365-07:00yes, pgrep is also a very useful command.
Thanks ...yes, pgrep is also a very useful command. <br />Thanks for the info.tuxthinkhttps://www.blogger.com/profile/11642576082677583230noreply@blogger.comtag:blogger.com,1999:blog-5826231862295491795.post-58913603835265194782012-05-21T06:14:59.769-07:002012-05-21T06:14:59.769-07:00This will also do the job
$ pgrep -f firefox
15223...This will also do the job<br />$ pgrep -f firefox<br />15223<br />15224<br />15225<br />15226<br />15227<br />15228<br /><br />pkill can kill all the matching processes instead of showing them<br />Just my 0,02TuxSaxhttps://www.blogger.com/profile/17448356414408001672noreply@blogger.com