Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在同一rabbitmq的“rabbitmq-env”脚本中,存在“-h”,“-f”,在以下几行中:
while [ -h "$SCRIPT_PATH" ] ; do [ ! -f ${CONF_ENV_FILE} ] ; then
这些符号的含义是什么?
[是test。来自help test:
[
test
help test
-f FILE True if file exists and is a regular file. ... -h FILE True if file is a symbolic link.