echo "Value is: $VAR"

Category: Bash Scripting

echo "Value is: $VAR"

Double-quoted string with variable expansion

Prints a string with a variable's value substituted inside. Double quotes allow variable expansion; single quotes don't.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.