小编Jac*_*nta的帖子

if [-f file]; 是什么意思?意思是?

我在 bash 文件中有一个 if 语句:

if [ -f bin/post_compile ]; then
    echo "-----> Running post-compile hook"
    chmod +x bin/post_compile
    sub-env bin/post_compile
fi
Run Code Online (Sandbox Code Playgroud)

是什么-f意思?

bash

0
推荐指数
1
解决办法
9024
查看次数

标签 统计

bash ×1