What is the use of script interpreter in shell scripting?

Answers were Sorted based on User's Feedback



What is the use of script interpreter in shell scripting?..

Answer / linuxdemon(vjsujay@gmail.com)

To overcome the execution of your script by the default
shell, we are invoking the required script
interpreter(shell) in the script file to execute our script.

Is This Answer Correct ?    3 Yes 0 No

What is the use of script interpreter in shell scripting?..

Answer / basavaraj

It will act as bridge between an user and kernel

Is This Answer Correct ?    1 Yes 0 No

What is the use of script interpreter in shell scripting?..

Answer / tony

It's a forced attempt to try and let the script run with the Shell it was designed for. If the Shell is missing from a given system (which is unlikely if the Shell is a popular one), the script would fail. But, if the Shell is not a popular one, it will fail for a good reason, because the unpopular Shell has a high chance of not being compatible. Also, it's a method of indicating the system on which the script was written and intended for, just as a remark to any reader.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Shell Script Interview Questions

what are command line arguments? what is the need of those?

1 Answers   Flipkart,


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

6 Answers   ADC, Wipro,


What is a shell made of?

0 Answers  


How to find duplicate record in file using shell script?

0 Answers   IBM, Saama Tech, Wipro,


What is difference between bash and shell?

0 Answers  






Please give me example of " at command , contrab command " how to use

0 Answers  


I want to read all input to the command from file1 direct all output to file2 and error to file 3, how can I achieve this?

1 Answers  


What is a shell in operating system?

0 Answers  


Explain about gui scripting?

0 Answers  


what is info area how many types?

0 Answers  


Determine the output of the following command: [ -z “” ] && echo 0 || echo 1

0 Answers  


write a shell script that accepts name from user and creates a directory by the path name, then creates a text file in that directory and stores in it, the data accepted from user till STOP, displays the no. of characters stored in the file.Program stops if directory name is null

1 Answers  


Categories