Bash Shell Scripting

echo

1.

echo "It is $num"

Equivalent to

echo It is $num

And $ num is the value of the variable.

2.

echo 'It is $num'

It represents the "It is $ num" string.

Released five original articles · won praise 0 · Views 181

Guess you like

Origin blog.csdn.net/qq_42890800/article/details/104117558
Recommended