Shebang

Updated: 04/26/2017 by Computer Hope

shebangSlang often used in computer Perl programming and other script files. The term shebang refers to the "#!" located at the top of many script files that points to the path of the associated program. For example, in a Perl script, the complete line may look similar to the following:

#!/usr/local/bin/perl

This line instructs the operating system the Perl script is being run in where the executable for Perl and all of its associated files are located. This line is commonly only required in Linux and Unix variants, users running Perl in Microsoft Windows do not need this line.

Bang, Perl, Programming terms