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

If one dont know how to create a script then how he/she can use the QTP?

1 Answers  


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

1 Answers   Flipkart,


How do I start a shell script?

0 Answers  


What is the command to find out today's date?

0 Answers  


c program which accept one argument as a directory name and prints all the file name along with its inode number and total count of the file in directory

1 Answers  






How do I run a .sh file?

0 Answers  


How can you get the value of pi till a 100 decimal places?

0 Answers  


Is shell and terminal the same?

0 Answers  


How can you find out how long the system has been running?

0 Answers  


How do you print the output the same string which is typed in command line. how do you write the shell script or command for this. if i entered "Hello" in command line, it should print 'Hello', if i say "Hello Welcome", i should get the "Hello Welcome" as output.?

3 Answers   IBM, Symphony,


How would you replace the n character in a file with some xyz?

7 Answers  


What is the significance of $#?

0 Answers  


Categories