i am writing a shell , which will get input from the user and then try to change the CASE to lower
echo "Please enter the unix server name ::"
read unix1
unix 2 =tr '[A-Z]' '[a-z]' < $unix1
echo $unix2
its not giving me the result in lower case..
User input will be in Upper case and this has to convert to lower case and then only i can find the path of the server name which should be in lower case
You have a number of errors in there. Perhaps simply posting a correct solution is a bit of a cheat, but you need to understand at least that redirection operates on file names, not strings (so < $unix1 doesn't do what you want) and you need to use $(...) or `...` to actually execute the tr command. var=value foo bar means "assign value to $var, then execute foo bar while this assignment is in place."
echo "$unix1" | tr A-Z a-z
or if you need the value to be in $unix2,
unix2=$(echo "$unix1" | tr A-Z a-z)
If your shell is very old, you will need to use backticks (grave accents, ASCII 96 -- not regular single quotes) instead of $(...).