Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2004-05-05 10:16:13
Size: 98
Editor: anonymous
Comment:
Revision 4 as of 2004-12-10 17:12:47
Size: 400
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
ShellScript is a ["Script"] written for ["Shell"] 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.

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.