Differences between revisions 9 and 11 (spanning 2 versions)
Revision 9 as of 2005-01-18 06:40:35
Size: 470
Editor: anonymous
Comment:
Revision 11 as of 2005-01-18 06:41:28
Size: 478
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
The MIME tipe is application/x-shellscript The ["MIME"] type is application/x-shellscript
Line 16: Line 16:
Finally, the bash commands. Finally, the ["Bash"] commands.

["Shell"]>["Bash"]


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

The ["MIME"] type 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.