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
What can scripts do?
Explain about sourcing commands?
What is bash used for?
What is the use of echo in shell script?
c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l
Explore about environment variables?
How will you pass and access arguments to a script in linux?
What is the equivalent of a file shortcut that we have a window on a linux system?
I want to connect to a remote server and execute some commands, how can I achieve this?
What are the default permissions of a file when it is created?
What is meant by dos operating system?
What is shell environment?
What does chmod do?
Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.
Differentiate between ‘ and ” quotes.