Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
scripting:basics [2015/08/02 04:31] bill_thomson |
scripting:basics [2019/08/30 09:07] (current) ersen [Comments] [Fix a typo] |
||
---|---|---|---|
Line 134: | Line 134: | ||
===== Comments ===== | ===== Comments ===== | ||
- | In a larger, or complex script, it's wise to comment the code. Comments can help with debugging or tests. Comments are stat with the # character (hashmark) and continue to the end of the line: | + | In a larger, or complex script, it's wise to comment the code. Comments can help with debugging or tests. Comments start with the # character (hashmark) and continue to the end of the line: |
<code bash> | <code bash> | ||
#!/bin/bash | #!/bin/bash |