I\'m working on a shell script that does certain changes on a txt file only if it does exist, however this test loop doesn\'t work, I wonder why? Thank you!
do it like this
while true do [ -f /tmp/list.txt ] && break sleep 2 done ls -l /tmp/list.txt