linuxkurs/beispiele/5/01-vars.sh
2019-01-09 11:56:25 +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"