What does $* exactly mean in a shell script?
$*
For example consider the following code snippet
$JAVA_HOME/bin/java/com/test/Testclass $*
It means all the arguments passed to the script or function, split by word.
It is usually wrong and should be replaced by "$@", which separates the arguments properly.
"$@"
1.4m articles
1.4m replys
5 comments
57.0k users