$* in bash scripting

后端 未结 8 952
一整个雨季
一整个雨季 2021-01-17 16:33

Can anybody tell me what does $* mean in bash scripting?

I tried to search on google for it, but I found only about $0, $1 an

8条回答
  •  情歌与酒
    2021-01-17 17:20

    It's all the arguments passed to the script, except split by word. You almost always want to use "$@" instead. And it's all in the bash(1) man page.

提交回复
热议问题