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 is the difference between a 'thread' and a 'process'?

3 Answers  


What is a command line shell?

0 Answers  


How to add some content in any file at some desired location without using VI or some other editor in UNIX

2 Answers  


how did u debugging in unix/ linux platform ??( project Related)

2 Answers   Symphony,


How to declare functions in unix shell script?

4 Answers  






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

1 Answers   Flipkart,


how to find weblogic version through linux cammand

1 Answers   L&T,


What is wc in shell script?

0 Answers  


how to print the 2-d, 3-d arrays in unix shell script programs please answer thi questio to my mail venusaikumar@gmail.com

0 Answers  


What are different types of shell?

0 Answers  


What is a scripting language simple definition?

0 Answers  


What is the use of "$?" Sign in shell script?

0 Answers  


Categories