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 |
what are command line arguments? what is the need of those?
What are the three main forms of enabling debugging in a shell script?
What is a shell made of?
How to find duplicate record in file using shell script?
0 Answers IBM, Saama Tech, Wipro,
What is difference between bash and shell?
Please give me example of " at command , contrab command " how to use
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?
What is a shell in operating system?
Explain about gui scripting?
what is info area how many types?
Determine the output of the following command: [ -z “” ] && echo 0 || echo 1
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