Anonymous user
Bourne Shell: Difference between revisions
Definition and hashbang
m (add wikipedia link) |
(Definition and hashbang) |
||
Line 1:
{{language}}{{stub}}
'''Portable Shell Syntax''' is the scripting language syntax used by the System V Bourne shell. This syntax is compatible with the heirloom shell and is the syntax documented in most Unix books.
{{implementation|UNIX Shell}}The [[wp:bourne shell|'''Bourne Shell''']] is a UNIX shell upon which many shells are based; notably ksh and bash. (The other major tree of UNIX shells descend from csh)
A Bourne Shell script begins with a [[hashbang]] like this, that tells the operating system to use the Bourne compatible shell interpreter:
#!/bin/sh
[[wp:Computerworld|Computerworld]] just published an in-depth interview with Steve Bourne
|