What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?


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

Post New Answer

More Shell Script Interview Questions

When you login to a c shell, which script would be run first?

2 Answers  


What does $1 mean in bash?

0 Answers  


Where cron file kept?

2 Answers   Tech Mahindra,


what is tickets $ what low,medium,high priorite pls define time also

0 Answers  


Create a bash shell script to sort and then uniq the file from the command line & store it to a new file and output the results to the screen. Name this script "sortAndUniq.sh"

5 Answers  






What is the difference between a variable and value?

7 Answers   Sun Microsystems,


What is the default shell of solaris?

0 Answers  


How to initialize a directory size to a variable??

2 Answers  


how to find weblogic version through linux cammand

1 Answers   L&T,


What are the different kinds of loops available in shell script?

3 Answers  


What does $@ mean bash?

0 Answers  


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  


Categories