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 are the three main forms of enabling debugging in a shell script?
Is powershell a bash?
How do you print the output the same string which is typed in command line. how do you write the shell script or command for this. if i entered "Hello" in command line, it should print 'Hello', if i say "Hello Welcome", i should get the "Hello Welcome" as output.?
What is the conditional statement in shell scripting?
What is a program shell?
What is inside a seashell?
What is a shell? · Types of shell · what is shell scripting?
Suppose you execute a command using exec, what will be the status of your current process in the shell?
How to check if a directory exists?
What is Linux language details
What is shell geeksforgeeks?
How will you schedule a job that will run every month last day?(some months have 30 days,some 31 days,28,29 days)