InterviewSolution
Saved Bookmarks
| 1. |
How To Put Comments In Your Shell Script? |
|
Answer» Comments are the MESSAGES to yourself and for other users that describe what a script is SUPPOSED to do and how its WORKS. To PUT comments in your script, start each comment line with a hash SIGN (#). Example is shown below: #!/bin/bash # This is a command echo “I am logged in as $USER” Comments are the messages to yourself and for other users that describe what a script is supposed to do and how its works. To put comments in your script, start each comment line with a hash sign (#). Example is shown below: #!/bin/bash # This is a command echo “I am logged in as $USER” |
|