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



what is the meaning of First line of shell script ,what is meaning of #! pleas explain brifly..

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

what is the meaning of First line of shell script ,what is meaning of #! pleas explain brifly..

Answer / nirbhay sharma

it shows the path for the interpreter

Is This Answer Correct ?    23 Yes 3 No

what is the meaning of First line of shell script ,what is meaning of #! pleas explain brifly..

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

what is the meaning of First line of shell script ,what is meaning of #! pleas explain brifly..

Answer / r r mishra

#!/bin/sh. which dictates that the following program is a
shell script,

Is This Answer Correct ?    21 Yes 13 No

Post New Answer

More Shell Script Interview Questions

What is difference between bash and shell?

1 Answers  


shell script for reverse the string

1 Answers  


Which is best institute for testing tool?

0 Answers  


what is info area how many types?

1 Answers  


I want to connect to a remote server and execute some commands, how can I achieve this?

1 Answers  


What are the three main forms of enabling debugging in a shell script?

6 Answers   ADC, Wipro,


What is inside a seashell?

1 Answers  


Write a shell script in Linux to shift all characters in a file forward by five characters. (Thus “a” becomes “f’”).

2 Answers   Ignou, Tripura Info,


Explain about the slow execution speed of shells?

1 Answers  


What are the Different types of shells?

5 Answers  


What does egrep mean?

1 Answers  


How do you create a shortcut in linux?

1 Answers  


Categories