Differences between revisions 1 and 18 (spanning 17 versions)
Revision 1 as of 2004-05-05 07:13:50
Size: 90
Editor: anonymous
Comment:
Revision 18 as of 2009-10-16 07:18:57
Size: 627
Comment: fixed formatting. (line of code wasn't showing on page)
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
[[Shell]]
-------
ShellScript is a [[Script]] written for the [[Shell]] (They are similar to *.bat or .cmd files in Windows).

The [[MIME]] type is application/x-shellscript

They are text files which first line says the shell to use (like DebPkg:bash , DebPkg:dash, DebPkg:csh, DebPkg:tcsh). So the first line is
 {{{
#!/bin/sh
#!/bin/sh
}}}
Including this line, Debian knows this is a shell script (they don't need to finish with *.[[Sh|sh]]).


== External links ==
 * [[http://steve-parker.org/sh/sh.shtml|Linux Shell Scripting Tutorial]].
 * [[http://www.zazzybob.com/bin.html|Shell Script Repository]].

Shell


ShellScript is a ?Script written for the Shell (They are similar to *.bat or .cmd files in Windows).

The MIME type is application/x-shellscript

They are text files which first line says the shell to use (like bash , dash, csh, tcsh). So the first line is

  • #!/bin/sh

Including this line, Debian knows this is a shell script (they don't need to finish with *.sh).