Differences between revisions 4 and 5
Revision 4 as of 2004-12-10 17:12:47
Size: 400
Editor: anonymous
Comment:
Revision 5 as of 2004-12-10 17:13:13
Size: 415
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:

#!/bin/bash
{{{
 #!/bin/bash
}}}
Line 9: Line 10:

# 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.

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.