#proc1.sh
#!/bin/sh
touch /tmp/proc1.signature.mutex
#do something for long time
sleep 100
rm -rf /tmp/proc1.signature.mutex
#proc2.sh
#!/bin/sh
touch /tmp/proc2.signature.mutex
#do something for long time
sleep 100
rm -rf /tmp/proc2.signature.mutex
#proc3.sh
#!/bin/sh
touch /tmp/proc3.signature.mutex
#do something for long time
sleep 100
rm -rf /tmp/proc3.signature.mutex
#core.sh
Now is there a way to wait for deleting /tmp/proc[?][*].signature.mutex all such file using loop or something
and then continue further execution
How to achieve objective of core.sh
Asked by kdm6389
(11 rep)
Oct 30, 2017, 02:33 PM
Last activity: May 16, 2019, 11:49 PM
Last activity: May 16, 2019, 11:49 PM