linuxkurs/beispiele/5/01-vars.sh
2019-01-09 11:55:18 +01:00

13 lines
195 B
Bash
Executable File

#!/bin/bash
x=10 #NOT x = 10 no spaces
X=20 #variables are case sensitive
$y= #NULL variable
echo "x = $x"
echo "X = $X"
echo "y = $y"
unset x
echo "x = $x"