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

Variables — Example 14

Quick explanation + ready code for: Variables.

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

Code

NAME="DrSchool"
COUNT=5
echo "$NAME $COUNT"

Notes

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