/ Check whether a file does not exist in Bash script / benroot - Snipt
Bash. Check whether a file does not exist in Bash script. 1 2 3 4. if [ ! -f /tmp/foo.txt
] then echo "File not found!" fi. if [ ! -f /tmp/foo.txt ] then echo "File not found!" fi.
snipt.net |