Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试过这个:
#!/bin/bash FILE=$1 if [ -f $FILE ]; then echo "File $FILE exists" else echo "File $FILE does not exists" fi
但我不确定这是否适合我正在做的事情。