![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pass parameter into script | alfredo | Shell Programming and Scripting | 2 | 04-08-2008 10:40 PM |
| Pass script variable value to AWK | BearCheese | Shell Programming and Scripting | 1 | 06-28-2007 06:02 AM |
| How to Pass variable to shell Script | sam70 | UNIX for Dummies Questions & Answers | 5 | 08-23-2005 08:27 PM |
| pass pid to kill using script | hcclnoodles | Shell Programming and Scripting | 2 | 10-29-2004 01:19 PM |
| Pass Parameter to Another Script | rvprod | UNIX for Dummies Questions & Answers | 4 | 04-05-2002 01:07 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Pass a paramenter into a script
Hello,
I was just curious if anyone would know how to code in KORN the accept a parameter from the start of the KORN. For example… $ myshell.ksh 55 “55” would represent the parameter I want to add to the script and assign a variable. Within the script it would look something like this Code:
input=$! (the $1 would be the 55) if [[ $input != ‘ ’ ]] then $input=variable123 echo $variable123 fi Thanks in advance…… |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|