SyntaxFix
Write A Post
Hire A Developer
Questions
One line ultimate solution:
[ "$(pgrep -fn $0)" -ne "$(pgrep -fo $0)" ] && echo "At least 2 copies of $0 are running"