您的位置: 首页 > IT文章 > shell根据程序名获取进程号 shell根据程序名获取进程号 分类: IT文章 • 2023-12-09 14:47:30 shell根据程序名获取进程号: ps -A | grep "cmdname" | awk '{print $1}'