文章目录 1.文件测试符运算列表2.实例 1.文件测试符运算列表 2.实例 a="/home/jiangliuwei/project/wayne/go.mod" if [ -f $a ]; then echo "xixi" fi