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:
#!/bin/bash
variable="Some text here ..."
echo "variable: $variable"; # or: echo "variable: ${variable}";