用进程名做参数杀进程

用到了 pidof 命令

kill $(pidof h3.Irrx)
原文地址:https://www.cnblogs.com/johnsonshu/p/5152746.html