Possible Duplicate:
Different ways to execute a shell script
What happens when I issue the following command:
source devenv.csh
How does it differ from running it just as devenv.csh ?
What happens when I issue the following command:
How does it differ from running it just as |
||||
|
|
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
|
When you "just run" the file, the interpreter given in the shebang (the first line of the script, starting with Sourceing the file means the commands are executed in the current shell. When some of the commands in |
|||
|