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 |
Is bash a shell script?
What are filters explain sort with all the options available?
Devise a script that takes file name as arguement(which must present in the current directory)and locates from your home directory tree all thpath names of its links.Then mail the list to self.
What is the basic difference you find between a shell script and perl?
is there any command to find user password?
What are the different types of commonly used shells on a typical linux system?
How will you list only the empty lines in a file (using grep)?
Why are there shells on the beach?
What is echo in shell?
What are the Different types of shells?
What is the first line of a shell script called?
How do you create a shortcut in linux?