Programming/Linux Coding [Bash] 파일 존재 확인 푸어맨 2017. 8. 1. 18:24 #! /bin/ksh FILENAME="end" while [ 1 ] do if [ -f "$FILENAME" ]; then echo "file exist" break else echo "file not exist" fi sleep 1 done - Reference http://foris.tistory.com/256