阅读背景:

Bash脚本 - 不检测变量中的文件名

来源:互联网 

In a BASH script, I'm trying to detect whether a file exists. The filename is in a variable but the -e command seems to be unable to detect the file. The following code always outputs "~/misc/tasks/drupal_backup.sh does not exist"In a BASH script, I'm trying to detect whether




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: