In computing, a shebang (also called a hashbang, hashpling, or pound bang) refers to the characters "#!"
when they are the first two characters in a text file. Unix-like
operating systems take the presence of these two characters as an
indication that the file is a script, and try to execute that script
using the interpreter specified by the rest of the first line in the
file. For instance, shell scripts for the Bourne shell start with the
first line:
#!/bin/sh
when they are the first two characters in a text file. Unix-like
operating systems take the presence of these two characters as an
indication that the file is a script, and try to execute that script
using the interpreter specified by the rest of the first line in the
file. For instance, shell scripts for the Bourne shell start with the
first line:
#!/bin/sh
No comments:
Post a Comment