The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 02-11-2009
honeym210 honeym210 is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 36
Help needed passing string to command

hi to all

code:
</div>
command... "command_name arg1 arg2 option=xxxxx"
example --- useradd username group=xxxxxx.
</div>

when someone ran this command it point to some other script (say script1), mean post execution of command.

in the script1 i need only "xxxxx" value. then i differentiate using case statement.
anyone have idea how to pass value to the script.

thanks