page 382 linux command line


x=5
if [ $x -eq 5 ]: then
     echo "x equals 5."
else
     echo "x does not equal 5."
fi







if statements have the following syntax:
if commands; then
commands
[elif commands; then
     commands...]
[else
     commands]
fi

Popular posts from this blog

a+ cert test prep