What is the significance of the shebang line in shell scripting?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Shell Script Interview Questions

Hi, all Scripting professional. Q. I have written script1.sh and calling script2.sh in script1.sh file using bash shell as interpreter and my log in shell also bash shell.My code like Script1 #!/bin/bash echo "My script2 call" . script2.sh Here script2.sh file run successfully but when I have changed my interpreter bash to ksh like #!/bin/ksh Error are comming script2.sh command not found. Guid me how to call other script in our main script.

2 Answers  


How do I stop script errors?

0 Answers  


Why is it called a shell?

0 Answers  


What is meant by dos operating system?

0 Answers  


How Connect to a Database in Shell Programming?

4 Answers   Syntel,






What is shell scripting used for?

0 Answers  


defination of mapfile in winrunner?

0 Answers  


What is the best shell scripting language?

0 Answers  


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

7 Answers  


How do I run a .sh file on mac?

0 Answers  


Explain about gui scripting?

0 Answers  


What are the default permissions of a file when it is created?

0 Answers  


Categories