Differences between revisions 1 and 25 (spanning 24 versions)
Revision 1 as of 2004-05-05 07:13:50
Size: 90
Editor: anonymous
Comment:
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 1: Line 1:
## Auto-converted by kwiki2moinmoin v2005-10-07
ShellScript is a script written for shell
##language en

||<tablestyle="width: 100%;" style="border: 0px hidden">~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[it/ShellScript|Italiano]]-~||<style="text-align: right;border: 0px hidden"> (!) [[/Discussion|Discussion]]||
----


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.

A script is a text file, which ''may or may not'' have the file extension {{{.sh}}}. The first line of the file [[https://en.wikipedia.org/wiki/Shebang_(Unix)|(shebang)]] indicates which interpreter/shell should execute the rest of the script:

 {{{#!text
#!/bin/sh
}}}


The [[MIME]] type of shell scripts is {{{application/x-shellscript}}}

{{{.bat}}} or {{{.cmd}}} are basic equivalents on Windows.

== External links ==

 * http://steve-parker.org/sh/sh.shtml - Linux Shell Scripting Tutorial
 * http://www.zazzybob.com/bin.html - Shell Script Repository

-----

CategoryCommandLineInterface | CategoryRedundant: merge with ShellCommands/other shell pages

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