Differences between revisions 25 and 26
Revision 25 as of 2019-08-21 18:09:50
Size: 1209
Editor: nodiscc
Comment: link to ShellCommands
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 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