LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   newbie with linux~ (https://www.linuxquestions.org/questions/linux-newbie-8/newbie-with-linux%7E-594025/)

mrryanthai 10-23-2007 05:56 PM

newbie with linux~
 
what is the #! called?thanks

MS3FGX 10-23-2007 06:47 PM

Do you mean the terminal prompt?

pixellany 10-23-2007 06:53 PM

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

Curiously, Google will not find anything on #! You just get an empty page???

mrryanthai;
Is this homework also?
What books are you studying?

dxqcanada 10-23-2007 07:18 PM

Usually that combination of characters appears on the first line of a shell script.

The "#!" precedes the interpreter that the script will use when opening a child process environment to run the script. This must be the first line in a shell script.
Code:

#! /bin/bash --"
shell commands
...


LlNUX 10-23-2007 07:19 PM

I think you mean Linux scripts. If yes, check this bash scripting tutorial explains it straight at the beginning. The same approach applies also for perl: Perl programming tutorial

hope this helps


All times are GMT -5. The time now is 08:43 AM.