gpt4 book ai didi

bash - catalina.sh中的-r是什么意思?

转载 作者:行者123 更新时间:2023-11-28 22:34:16 27 4
gpt4 key购买 nike

在 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/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com