identify syntax and logic errors, and correct them to produce the expected output.
#!/bin/bash echo "Enter your name: read name if [$name == "admin"] then echo "Welcome, administrator!" else echo Welcome, $name! fi