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 |
How to get the last line from a file using just the terminal?
When we login into our account which files are executed?
What is egrep?
What is the syntax of "expr" command?
What is shell environment?
Create a bash shell script that reads a line from the user consisting of 5 words and then prints them out in reverse order. Name this script "reverse.sh"
what is the difference between sh & bash shell?
what does "kill -9" and "kill -1" do
What is awk in shell scripting?
c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again
How many fields are present in a crontab file and what does each field specify?
How to add some content in any file at some desired location without using VI or some other editor in UNIX