一行命令在Bash脚本中终止进程<process_name>:pgrep <process_name> | xargs kill 转载于:https://blog.51cto.com/kunder/1197498