Hello everyone my name is Telis and i just registered in this forum.. i just started programming in linux shell and i need help with this easy task..
this is my code
#!/bin/sh
echo "What is your First name?"
read name
if [ "$name"="Telis" ] ; then
echo "Hello Master."
else
echo "Who are you?"
fi
when i run this, whatever i input it always echoes Hello master.. even if i dont input something it will again echo Hello master.. how can i make this work? i cant find my mistake.. i appreciate any help
(excuse me if my english is not so good. thank you in advance)