![]() |
|
|
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 |
| need to invoke a shell script from xml file. | sais | UNIX for Dummies Questions & Answers | 2 | 05-19-2008 02:01 PM |
| how to Invoke html in ksh Script | ali560045 | Shell Programming and Scripting | 4 | 11-30-2007 01:28 AM |
| Bourne: How to invoke an alias from within a shell script | techshots | Shell Programming and Scripting | 2 | 06-04-2006 01:38 AM |
| invoke same script twice | mpang_ | Shell Programming and Scripting | 2 | 04-05-2006 07:14 AM |
| Invoke java program in script | mpang_ | Shell Programming and Scripting | 0 | 03-27-2006 11:05 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
how to invoke shell script
hi everybody,
i learning unix now only.Can u pls guide me in invoking a shell script.Actually i need to know how to write the command for invoking the shell script.Suppose the shell file name is count , then how i will write the command. thanks |
|
||||
|
different ways to do it
You should make your shell script file executable first.
$chmod 755 count You can run it from the directory where it is located as follows. $./count One more way execute it as a paramter to the sh command. If you are in a different directory make sure to provide the complete path. $sh /home/user/count |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|