shell中命令作为变量使用时间:2023-03-09 15:22:32 说明:必须要带上$ ,否则报错 ENCRYPTION_KEY=$(head -c /dev/urandom | od -An -t x | tr -d ' ') echo ${ENCRYPTION_KEY}