https://www.cloudsavvyit.com/11909/how-to-create-a-semaphore-in-bash/amp/
Can you create a semaphore in Bash. Should you?