The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: Simple Script
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 04-26-2008
xplod4202 xplod4202 is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 6
Simple Script

Here is the script that i am trying to run. I get an error and i can't figure out what is the problem.
#!/bin/bash

echo "What is your name"
read NAME

if [ $NAME -eq $Eugene ]; then
echo "My name is the same"
esle
echo "You have a nice name"
fi