Hi All,
I have a script which runs 3 scripts. The first script creates two files. The other two scripts should run only when the files are created.
I tried the following for loop , but it is not working. Can someone please help me.
Code:
while [ ! -e script3.lck && script4.lck ]; do
# Sleep until file does exists/is created
sleep 1
done