linuxkurs/beispiele/5/01-vars.sh

13 lines
195 B
Bash
Raw Normal View History

2019-01-08 13:08:27 +01:00
#!/bin/bash
x=10 #NOT x = 10 no spaces
X=20 #variables are case sensitive
$y= #NULL variable
echo "x = $x"
echo "X = $X"
2019-01-09 11:55:18 +01:00
echo "y = $y"
unset x
echo "x = $x"