Differences between revisions 24 and 26 (spanning 2 versions)
Revision 24 as of 2019-08-19 21:19:50
Size: 1154
Editor: nodiscc
Comment: rm dead link
Revision 26 as of 2019-08-21 18:51:40
Size: 1297
Editor: nodiscc
Comment: move link from CommandLine
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.
Line 24: Line 24:
 * http://www.ssuet.edu.pk/~amkhan/Linuxbooks/Linux%20Shell%20Scripting%20Tutorial.pdf

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