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 |
How important is shell scripting?
Which shell is the best?
What is the conditional statement in shell scripting?
What is shell geeksforgeeks?
How to pass an argument to a script?
What does $$ mean in shell script?
How can the contents of a file inside jar be read without extracting in a shell script?
What is inside a seashell?
Is SSO and SSL support BOXI?
What are the different types of shell scripting?
How to use arguments in a script?
What is the syntax of "nested if statement" in shell scripting?