Script written for the shell, or command line interpreter, of an operating system
This article is about scripting in Unix-like systems. 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.
This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Shell script" – news · newspapers · books · scholar · JSTOR(February 2014) (Learn how and when to remove this template message)
A shell script is a computer program designed to be run by a Unix shell, a command-line interpreter.[1] 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 program, and does any necessary cleanup or logging, is called a wrapper.
The term is also used more generally to mean the automated mode of running an operating system shell; each operating system uses a particular name for these functions including batch files (MSDos-Win95 stream, OS/2), command procedures (VMS), and shell scripts (Windows NT stream and third-party derivatives like 4NT—article is at cmd.exe), and mainframe operating systems are associated with a number of terms.
Shells commonly present in Unix and Unix-like systems include the Korn shell, the Bourne shell, and GNU Bash. While a Unix operating system may have a different default shell, such as Zsh on macOS, these shells are typically present for backwards compatibility.
^Kernighan, Brian W.; Pike, Rob (1984), "3. Using the Shell", The UNIX Programming Environment, Prentice Hall, Inc., p. 94, ISBN 0-13-937699-2, The shell is actually a programming language: it has variables, loops, decision-making, and so on.
A shellscript is a computer program designed to be run by a Unix shell, a command-line interpreter. The various dialects of shellscripts are considered...
software, text editors, web pages, operating system shells, embedded systems, and computer games. A scripting language can be a general purpose language or...
PowerShell is a task automation and configuration management program from Microsoft, consisting of a command-line shell and the associated scripting language...
command language and a scripting language, and is used by the operating system to control the execution of the system using shellscripts. Users typically interact...
Version 7 Unix, the Bourne shell was preceded by the Mashey shell. Some of the primary goals of the shell were: To allow shellscripts to be used as filters...
program that allows the execution of GTK dialog boxes in command-line and shellscripts. Like tools such as whiptail and dialog, Zenity allows easy creation...
regular tasks by allowing the user to set up a script to automate them. When a batch file is run, the shell program (usually COMMAND.COM or cmd.exe) reads...
like bash, tcsh, and zsh. Runs most shellscripts compatible with the Bourne shell. Note that under Linux, most scripts seem to use at least some bash-specific...
programming language (syntax inspired by Unix shell) and languages influenced by Perl, such as PHP and Ruby. JavaScript also supports this functionality via template...
because it is a valid shellscript, and executing it will recreate the files. To extract the files, only the standard Unix Bourne shell sh is usually required...
Neofetch is a system information tool written in the Bash shellscripting language. On the left side is always a logo of the distribution, rendered in...
Hacktivism Lamer List of convicted computer criminals Luser Noob Web shell, a tool that script kiddies frequently use Mead, Nancy R.; Hough, Eric; Stehney, Theodore...
systemd, Runit and OpenRC. Research Unix init runs the initialization shellscript located at /etc/rc, then launches getty on terminals under the control...
The Z shell (Zsh) is a Unix shell that can be used as an interactive login shell and as a command interpreter for shellscripting. Zsh is an extended...
the shell prompt for missing values will allow the author of a script, command or function to mark a parameter as mandatory instead of creating script code...
The restricted shell is a Unix shell that restricts some of the capabilities available to an interactive user session, or to a shellscript, running within...
uses the same reference to ADODB. Active ScriptingShellscript HTML Application PowerShell Using Windows Script Files - From The WayBack Machine's archive...
simply run the supplied configure script (which has no dependencies other than the presence of a Bourne-compatible shell), and then a make program. They...
them. In practice, env has another common use. It is often used by shellscripts to launch the correct interpreter. In this usage, the environment is...
set, does not allow client-side script interaction with cookies, thereby preventing certain XSS attacks. Modular shell disassociation from kernel With...
As a structured command language, AppleScript can be compared to Unix shells, the Microsoft Windows Script Host, or IBM REXX but it is distinct from...
oracle bones and oracle bone script. The common Chinese term for oracle bone script is 甲骨文 (jiǎgǔwén 'shell and bone script'), which is an abbreviation...
Script Host (WSH) (formerly named Windows Scripting Host) is an automation technology for Microsoft Windows operating systems that provides scripting...