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

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

730


how to get part of string variable with echo command only?

668


What is a beat in a script?

632


What is the first line in a shell script?

642


How do you debug a script?

655






How many fields are present in a crontab file and what does each field specify?

679


How do I run a .sh file?

685


Write down the syntax of "for " loop

704


What does .sh file contain?

635


What are scripts in psychology?

675


What is c in shell script?

710


Is scripting and coding the same thing?

647


What is a shell in operating system?

666


How do I run a bin bash script?

666


How do I start a shell script?

668