04-04-2005
1,
0
Join Date: Apr 2005
Last Activity: 4 April 2005, 7:49 PM EDT
Posts: 1
Thanks Given: 0
Thanked 0 Times in 0 Posts
Newbie Student Need Help!
Is there anyone here that can help me with my unix assignment? I've been working on it for 3 days now. It is regarding writing a script. I've got a few questions that I need some answers. Please someone who are willing to help add me to their msn messenger: ****************
In one part of the assignment, I have to create a script called "validUser.sh". So if I was to run the script, I would type "validUser.sh username" from the shell, and the script is supposed to take the username and search for that in a database. My problem is I don't know how to take the 2nd option: validUSer.sh --> username <--
and search for it! It will only work if I run the script from the shell, then type the username.
ex.
$ validUser.sh
username
Won't work likt this:
$ validUser.sh username
How do I make the script so that I can run it from the shell like so: "validUser.sh username" .. and it will automatically search for the username?
I got more other questions.. but it's too complicating to write them all here. So please someone add me to msn.
Thanks!
edited by google - Please do not post email addresses. Forum is for public viewing and solutions are for the benefit of all. Also, please read the rules. No Homework posting allowed.
Last edited by google; 04-04-2005 at 08:53 PM..