what is the meaning of First line of shell script ,what is
meaning of #! pleas explain brifly
Answers were Sorted based on User's Feedback
Answer / alpkumar
#! indicates from where the path of the interpretor should
be considered and also directs that the contents of the
file which will be following will be executed under the
guidelines of this interpretor being used.
| Is This Answer Correct ? | 30 Yes | 1 No |
Answer / shivani
It tells u that which is the shell whose interpreter would
come into action for the execution of that particular
script.
| Is This Answer Correct ? | 15 Yes | 3 No |
Answer / r r mishra
#!/bin/sh. which dictates that the following program is a
shell script,
| Is This Answer Correct ? | 21 Yes | 13 No |
What is the difference between grep and egrep?
What is the use of "shift" command in passing parameters?
Why is a script important?
Suppose you execute a command using exec, what will be the status of your current process in the shell?
How will you list only the empty lines in a file (using grep)?
What language is bash written in?
Is bash an operating system?
What is the lifespan of a variable inside a shell script?
What is a file basename?
What is the command for " how many shell is running in your system or how many shell supported by your system " ?.
What is basename in shell script?
How to print all the arguments provided to the script?