What is the use of script interpreter in shell scripting?
Answers were Sorted based on User's Feedback
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 |
Answer / basavaraj
It will act as bridge between an user and kernel
| Is This Answer Correct ? | 1 Yes | 0 No |
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 |
Is shell scripting easy to learn?
What is the conditional statement in shell scripting?
What is the use of script interpreter in shell scripting?
What is the use of "shift" command in passing parameters?
In a file , how to retrieve the lines which are the multiples of 50 ? like 50,100,150th lines etc.
What is a shell script? Can you name some of its advantages?
What are the different types of shell scripting?
How will you connect to a database server from linux?
write a shell script to find the largest number from 3 given numbers.
What is the use of "$#" in shell scripting?
Explain about debugging?
What are the three main forms of enabling debugging in a shell script?