📜  bash 检查进程是否按名称运行 - Shell-Bash 代码示例
📅  最后修改于: 2022-03-11 14:50:41.302000             🧑  作者: Mango
代码示例1
if pgrep -x "" > /dev/null; then
echo "Running"
else
echo "Not running"
fi