Sunday 17 January 2021

How to kill a process based on process name?

 kill -9 $(pidof watch) 

# where 'watch' is the process name

No comments:

Post a Comment