Examples
Some typical shebang lines:
#!/bin/sh— Execute the file using sh, the Bourne shell, or a compatible shell#!/bin/csh -f— Execute the file using csh, the C shell, or a compatible shell, and suppress the execution of the user’s.cshrcfile on startup#!/usr/bin/perl -T— Execute using Perl with the option for taint checks#!/usr/bin/php— Execute the file using the PHP command line interpreter#!/usr/bin/python -O— Execute using Python with optimizations to code#!/usr/bin/ruby— Execute using Ruby
Shebang lines may include specific options that are passed to the interpreter (see the Perl example above). However, implementations vary in the parsing behavior of options; for portability, only one option should be specified (if any) without any embedded whitespace.
Read more about this topic: Shebang (Unix)
Famous quotes containing the word examples:
“No rules exist, and examples are simply life-savers answering the appeals of rules making vain attempts to exist.”
—André Breton (18961966)
“In the examples that I here bring in of what I have [read], heard, done or said, I have refrained from daring to alter even the smallest and most indifferent circumstances. My conscience falsifies not an iota; for my knowledge I cannot answer.”
—Michel de Montaigne (15331592)
“It is hardly to be believed how spiritual reflections when mixed with a little physics can hold peoples attention and give them a livelier idea of God than do the often ill-applied examples of his wrath.”
—G.C. (Georg Christoph)