#!/bin/sh pidfile=/tmp/.pid.$0 kill -0 `cat $pidfile` if [ $? == 0 ] then echo "the shell:"$0"is running" exit 1 fi echo $$>$pidfile # your scrip
2,161
社区成员
4,355
社区内容
加载中
试试用AI创作助手写篇文章吧