EN
Bash - print in-script variable in command line
5 points
In this short article we would like to show how to print in-script variable in the command line under Bash.
Quick solution:
xxxxxxxxxx
1
2
3
variable="Some text here ..."
4
5
echo "variable: $variable"; # or: echo "variable: ${variable}";