rabbitmq bash script -f -h含义

Che*_* Yu 1 bash rabbitmq

在同一个rabbitmq的"rabbitmq-env"脚本中,在以下行中存在"-h"," - f":

while [ -h "$SCRIPT_PATH" ] ; do

[ ! -f ${CONF_ENV_FILE} ] ; then
Run Code Online (Sandbox Code Playgroud)

这些符号的含义是什么?

Ign*_*ams 5

[test.来自help test:

  -f FILE        True if file exists and is a regular file.
   ...
  -h FILE        True if file is a symbolic link.
Run Code Online (Sandbox Code Playgroud)