Hi everybody;
I guess it's a very easy to solve problem but I could not find its solution.I would like to get a string from user , and I wrote this:
Code:
#!/bin/bash
#First attempt to making mission.
clear
echo "Welcome to the table manipulator script.Enter command:"
read command
if[$command == "create_table"]
then
echo "command received"
else
echo "failure"
fi
I received these errors:
firstAt: line 10: if[create_table == create_table]: command not found
firstAt: line 11: syntax error near unexpected token `then'
firstAt: line 11: ` then'
I am using Fedora 4.Is there any suggestion for solution ?