In catalina.sh is row:
if [ -r "$CATALINA_BASE"/conf/logging.properties ];
What does it mean -r ? Does it abbreviation? What other symbols can be? Thanks.
In catalina.sh is row:
if [ -r "$CATALINA_BASE"/conf/logging.properties ];
What does it mean -r ? Does it abbreviation? What other symbols can be? Thanks.
The documentation you are looking for is in 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.