![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| when executing .sh script in telnet error "script not found" | smiley | Shell Programming and Scripting | 1 | 04-22-2008 10:01 AM |
| [AIX] executing script | piooooter | UNIX for Dummies Questions & Answers | 1 | 05-25-2006 09:53 PM |
| executing script | big123456 | Shell Programming and Scripting | 1 | 06-03-2005 04:32 AM |
| RSH use for executing a script | frustrated1 | Shell Programming and Scripting | 6 | 10-02-2003 05:24 AM |
| Executing ksh script from cgi | hodges | Shell Programming and Scripting | 1 | 05-27-2003 07:57 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
what is the difference between executing the script .script.sh and . ./script.sh.
Example : . ./.bash_profile And also can any one tel me what do source command do? |
| Forum Sponsor | ||
|
|
|
|||
|
.script.sh
would try and find a program called ".script.sh" on the path and run them in a child process. . script.sh would basically interpret the script.sh commands inline ./script.sh would try and find a program called "script.sh" in the current directory and run them in a child process. source is an alias for . |