Hacker News new | past | comments | ask | show | jobs | submit login

The 1st example could be simpler using pgrep and cut, or simply pkill or killall.

You can also just suspend it (ctrl+Z), and resume it with fg.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: