Sometime today, Linux @ Ramshyam wrote:
Where can I get some ONLINE book for SHELL SCRIPTING.
Adv-Bash-Scr-HOWTO http://www.linuxdoc.org/HOWTO/Adv-Bash-Scr-HOWTO/index.html
For the purpose of this script, look up the bash manual. "man bash". "man sleep".
Maybe you can replace the colon with a call to sleep.
while [ ! -f tmp.txt ]; do sleep 3 # Sleep for 3 seconds. done echo "File found... executing commands."
Manish