What Unix commands can be used as a semaphore/lock?
51
votes
7
answers
34729
views
I want to run multiple Bash shell scripts in parallel. However, I want to avoid race conditions. What Unix commands are *truly* atomic that I could use for this purpose, and how can I use them?
Asked by Larry Wang
(2755 rep)
Aug 10, 2010, 07:59 PM
Last activity: Jan 27, 2015, 05:12 PM
Last activity: Jan 27, 2015, 05:12 PM