Bash $0、$1、$2、$#、$@、$*、$? 的含义Ying Bun / May 30, 2022tipdateMay 30, 2022slugtip-bash-command-parameterstatusPublishedsummary小技巧 bash命令参数tagstiptypePostURLProblem & SummarySolutionScreenshotsProblem & Summaryhttps://segmentfault.com/a/1190000021435389Solution$@ 可以将参数全抄过来 dtail='docker logs -tf --tail="100" "$@"’Screenshots