wats the she bang statment with syntax?

Answer Posted / shimpi

a shebang (also called a hashbang, hashpling, or pound
bang) refers to the characters "#!. The shebang is looked
for and used when a script is invoked directly.
Because the "#" character is often used as the comment
marker in scripting languages, the contents of the shebang
line will be automatically ignored by the interpreter
itself; the shebang line only exists to specify the correct
interpreter to be used.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to substitute "ls" command in the place of "echo" command?

619


c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l

3156


How to get script name inside a script?

555


Write a shell script to get current date, time, user name and current working directory.

640


How do I set bash as default shell mac?

559






Please give me example of " at command , contrab command " how to use

2331


What is sed in shell script?

573


Is shell script a programming language?

572


How to check if the previous command was run successfully?

597


Explain about login shell?

636


What are the advantages of shell scripting?

586


What are the zombie processes?

567


wats the deinitions for shell utility and filter?

1849


What is the first line in a shell script?

557


Determine the output of the following command: name=shubham && echo ‘my name is $name’.

535