$* in bash scripting

后端 未结 8 955
一整个雨季
一整个雨季 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:16

    If you see $ in prefix with anything , it means its a variable. The value of the variable is used.

    Example:

    count=100
    echo $count
    echo "Count Value = $count"
    

    Output of the above script:

    100
    Count Value = 100
    

提交回复
热议问题