Shell script

From Wiki @ Karl Jones dot com
Revision as of 05:44, 17 March 2016 by Karl Jones (Talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 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