Size: 98
Comment:
|
Size: 400
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.