TypeScript code snippet – How check is file exist linux November 5, 2024 by poopcode FILE=/etc/resolv.conf if [ -f "$FILE" ]; then echo "$FILE exists." else echo "$FILE does not exist." fi