Differences between revisions 6 and 8 (spanning 2 versions)
Revision 6 as of 2004-12-10 17:14:06
Size: 459
Editor: anonymous
Comment:
Revision 8 as of 2005-01-02 13:50:22
Size: 443
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
{{{
 #!/bin/bash
}}}

#!/bin/bash
Line 12: Line 11:
{{{
 #This is a comment.
}}}

#This is a comment.

ShellScript is a ["Script"] written for the ["Shell"] (["Bash"]). They are similar to *.bat files in Windows.

The MIME tipe is application/x-shellscript

They are text files which first line says the shell to use (bash). So the first line is

#!/bin/bash

After this, you can include comments using # in the beginning of the line. For example:

#This is a comment.

Finally, the bash commands.