![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hello Everyone - Student in Need of Help | Hexum311 | UNIX for Dummies Questions & Answers | 1 | 04-08-2007 12:37 AM |
| student need help! | willnadaze | UNIX for Dummies Questions & Answers | 6 | 12-05-2005 10:23 AM |
| Student needs help... | MGold4357 | Linux | 4 | 04-09-2004 11:44 AM |
| novice student needs help | karen79 | High Level Programming | 1 | 12-05-2003 10:15 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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.. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|