What does dollar sign mean in shell script?

What does dollar sign mean in shell script?
Answer
Dollar sign $ (
Variable )
The dollar sign before the thing in parenthesis usually refers to a variable. This means that this command is either passing an argument to that variable from a bash script or is getting the value of that variable for something.
 

Tìm kiếm

Back
Top