在 catalina.sh 中是行:
if [ -r "$CATALINA_BASE"/conf/logging.properties ];
-r 是什么意思?是缩写吗?还有哪些符号可以? 谢谢。
最佳答案
您要查找的文档在 man test
中:
-r pathname
True if pathname resolves to a file that exists and for which permission to read from the file will be granted, as defined in File Read, Write, and Creation. False if pathname cannot be resolved, or if pathname resolves to a file for which permission to read from the file will not be granted.
关于bash - catalina.sh中的-r是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8120343/