Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to include comments in your shell scripts?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?

1108


What is the use of break command?

1162


How can you get the value of pi till a 100 decimal places?

1011


How to redirect both standard output and standard error to the same location?

1199


What does sh mean?

1102


How do I run a .sh file?

1072


What does egrep mean?

1024


How to open a read-only file in the shell?

1174


What is the conditional statement in shell scripting?

1277


How do I run a shell script in powershell?

1173


What is eval in shell script?

1318


What language is bash?

956


What is sh in shell script?

1057


What is bash eval?

1055


Give some situations where typing error can destroy a program?

1288