problems with arguments when calling a script
Hi all
Suddenly, i have problems when i call a script when i use some arguments/variables Here is my code Code:
#!/bin/sh Code:
# ./check_ORAdatabase_1.sh -u user -pa pass -h host -po port -s sid Thanks in advance |
i've found the problem ;)
when i search for my arguments or variables i do $user=$2 in stead of user=$2 Code:
# Grab the command line arguments |
Hi,
When you run this command as it is Code:
# ./check_ORAdatabase_1.sh -u user -pa pass -h host -po port -s sid values in the argument are misssing. are you running this script for the first time and also this script is written by you or you downloaded it? |
euh... yeah i'm aware of that, but i don't say what user and pass i'm using ;)
i don't use that command as i say it here :p |
All times are GMT -5. The time now is 01:18 AM. |