What is the use of script interpreter in shell scripting?
Answer Posted / 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 View All Answers
c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command
What is a scripting language simple definition?
How to calculate the number of passed arguments?
How will you print the login names of all users on a system?
How to use arguments in a script?
What does sh mean?
What lives in a shell?
What is the first line in a shell script?
What is the first line of a shell script called?
What will happen to my current process when I execute a command using exec?
Is shell scripting a programming language?
What are the default permissions of a file when it is created?
What is scripting autism?
What is the fastest scripting language?
What is the syntax of while loop in shell scripting?