DrSchool Learn coding, fast.
EN AR BN CS DE EL Search

Variables — Example 11

Quick explanation + ready code for: Variables.

Shell Variables Back to examples
Back to language
Syntax: Variables in Shell. ID: #11

Code

NAME="DrSchool"
COUNT=22
echo "$NAME $COUNT"

Notes

You can copy this snippet and adapt it. For advanced, add real-world inputs, edge cases, and tests.