Domanda

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.

È stato utile?

Soluzione

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.

Altri suggerimenti

Check out this document. -r means file has read permission.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top