Differences between revisions 24 and 25
Revision 24 as of 2019-08-19 21:19:50
Size: 1154
Editor: nodiscc
Comment: rm dead link
Revision 25 as of 2019-08-21 18:09:50
Size: 1209
Editor: nodiscc
Comment: link to ShellCommands
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
A '''[[https://en.wikipedia.org/wiki/Shell_script|Shell script]]''' is a script written for the [[Shell]]. Operations performed by shell scripts include file manipulation, program execution, and printing text. A '''[[https://en.wikipedia.org/wiki/Shell_script|Shell script]]''' is a script written for the [[Shell]]. Shell scripts use ShellCommands and a specific syntax. Operations performed by shell scripts include file manipulation, program execution, and printing text.

Translation(s): English - Italiano

(!) ?Discussion


A Shell script is a script written for the Shell. Shell scripts use ShellCommands and a specific syntax. Operations performed by shell scripts include file manipulation, program execution, and printing text.

A script is a text file, which may or may not have the file extension .sh. The first line of the file (shebang) indicates which interpreter/shell should execute the rest of the script:

  • #!/bin/sh

The MIME type of shell scripts is application/x-shellscript

.bat or .cmd are basic equivalents on Windows.


CategoryCommandLineInterface | CategoryRedundant: merge with ShellCommands/other shell pages