Category:UNIX Shell: Difference between revisions

Content added Content deleted
m (Changed over to language header)
m (Added intrawiki links)
Line 1: Line 1:
{{language|UNIX Shell}}The '''UNIX Shell''' is a component of terminal-based UNIX-derived systems which offers both a command-line interface for running system commands, as well as programming interface for intelligently automating tasks which use system commands.
{{language|UNIX Shell}}The '''UNIX Shell''' is a component of terminal-based [[UNIX]]-derived systems which offers both a command-line interface for running system commands, as well as programming interface for intelligently automating tasks which use system commands.


=Implementation=
=Implementation=
Line 10: Line 10:
=Language=
=Language=


While UNIX Shells vary in the programming languages they support, such languages carry a minimum set of features. Each language allows the programmer to execute system commands as though he were typing the commands himself, and each language allows for a header line which specifies which shell implementation is used to interpret the script.
While UNIX Shells vary in the programming languages they support, such languages carry a minimum set of features. Each language allows the programmer to [[Execute a System Command|execute system commands]] as though he were typing the commands himself, and each language allows for a header line which specifies which shell implementation is used to interpret the script.


This one tells the operating system to use the [[Bourne Shell]]:
This one tells the operating system to use the [[Bourne Shell]]:
Line 19: Line 19:
#!/bin/ksh
#!/bin/ksh


Each header line consists of a hash, a bang, and the path to the interpreter binary.
Each header line consists of a hash, a bang, and the path to the [[interpreter]] binary.