0
Q:

zsh check if file exists

FILE=/etc/resolv.conf
if [[ -f "$FILE" ]]; then
    echo "$FILE exists."
fi
0

New to Communities?

Join the community