How to include comments in your shell scripts?
Answers were Sorted based on User's Feedback
Answer / rameshs
#!/bin/bash
echo "Say Something"
<<COMMENT1
your comment 1
comment 2
blah
COMMENT1
echo "Do something else"
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / vipul dalwala
To comment multiple lines U can use
: '
comment1
comment2
comment3
'
| Is This Answer Correct ? | 0 Yes | 3 No |
What is in a script?
what are special characters and explain how does text varies by the usage of single quotes,double quotes and back quotes?
What are different types of shell?
What is the syntax of "nested if statement" in shell scripting?
What lives in a shell?
Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.
How will you connect to a database server from linux?
How do I run a script on mac?
How do I run a shell script in powershell?
What shell is bin sh?
Why is the use of shell script?
What is shell geeksforgeeks?