Difference between revisions of "Shell script"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Created page with "A '''shell script''' is a computer program designed to be run by the Unix shell, a command line interpreter. == Description == The various dialects of shell scripts are cons...")
 
Line 1: Line 1:
A '''shell script''' is a computer program designed to be run by the Unix shell, a command line interpreter.
+
A '''shell script''' is a [[computer program]] designed to be run by the [[Unix shell]].
  
 
== Description ==
 
== Description ==

Revision as of 05:45, 17 March 2016

A shell script is a computer program designed to be run by the Unix shell.

Description

The various dialects of shell scripts are considered to be scripting languages.

Typical operations performed by shell scripts include file manipulation, program execution, and printing text. A script which sets up the environment, runs the programme, and does any necessary cleanup, logging, &c is called a wrapper.

Non-Unix scripting

This article is about scripting in UNIX-like systems.

The term is also used more generally to mean the automated mode of running an operating system shell.

  • For batch programming in DOS, OS/2 and Windows, see Batch file.
  • For batch programming in Windows PowerShell shell, see Windows PowerShell#Scripting.
  • For programming in the shells (Cmd.exe) in operating systems of the Windows NT/2000 series, see cmd.exe.
  • For shell programming, by means of files called Command Scripts or Procedures on Vax/VMS machines, see DIGITAL Command Language.

See also