5

I have no idea how to solve this :/

view full story
linux-howto

http://www.unix.com – I am trying to make a script that will execute different things by the input Input: Code: #/bin/bash echo "Test script" read cake if [ "$cake" == "1" ] then     echo "cake it is" fi Output: Code: 1 : bad variable nameake test.sh: 8: test.sh: Syntax error: end of file unexpected (expecting "then") (HowTos)