LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Script Problem (https://www.linuxquestions.org/questions/linux-newbie-8/script-problem-469064/)

shipon_97 07-30-2006 04:32 AM

Script Problem
 
Dear friends ,

Normally I use "!/bin/sh" cammand , when i write a script .
But i don't understand why "this command" needs to write a Script.
i.e.,
What is the activity of this command (!/bin/sh)for writing a "Script" .

Waiting for reply .........

spooon 07-30-2006 04:47 AM

http://en.wikipedia.org/wiki/Shebang_(Unix)

pixellany 07-30-2006 08:38 AM

Short answer: Telling the system what interpreter to use for your script. When you type a command in a terminal, you are already in a shell----Thus it knows how to interpret the command.


All times are GMT -5. The time now is 01:22 AM.