5

need to pass value while running the script

view full story
linux-howto

http://www.unix.com – hi i am trying to write a script in which i want to pass a value and that value should be compare with a value which was already define in a script . if the value is correct the sj=how access esle show access denied. below is my script: this is not working. Code: #!/bin/ksh   echo "The value of the first argument to the script :" $1   p=$1   passwod="asr"   read p   if  “$p" == "$password" ]; then           echo "You have access!"   else           echo &quo (HowTos)