Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: include_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/Skin.php on line 153

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/skins/Vector.deps.php on line 11

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/Skin.php on line 155
Shebang - Just Solve the File Format Problem

Shebang

From Just Solve the File Format Problem
Jump to: navigation, search
File Format
Name Shebang
Ontology

A shebang (also called a hashbang, and other equally silly names) is line of text that associates a file (usually a script to be interpreted) with an application. The technique is crude but effective, and is ubiquitous on Unix-like systems.

Format details

If one attempts to execute a file whose contents begin with "#!", a Unix-like operating system looks for the name of a program after the "#!", and executes that program instead, with the original file as a parameter. This effectively makes the original file itself executable.

An example of a shebang is

#!/usr/bin/perl -w

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007