The UNIX and Linux Forums  


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



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

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 04-04-2005
DaSFLiP DaSFLiP is offline
Registered User
  
 

Join Date: Apr 2005
Posts: 1
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
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:16 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0