Check if a file exists. echo "hello world" > file.txt. if [ -e file.txt ]. then. echo "file exists". else. echo "file does not exists".
確定! 回上一頁