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 is bourne shell scripting?

959


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

1044


Why should we use shell scripts?

1032


What is a shell script in windows?

1065


Is powershell a language?

1027


What are the default permissions of a file when it is created?

996


Print the 10th line without using tail and head command.

2162


What does path stand for?

1043


How do we delete all blank lines in a file?

1088


What is a boot block?

1003


How will you emulate wc –l using awk?

1505


How are shells born?

949


Is shell and terminal the same?

1030


Determine the output of the following command: name=shubham && echo ‘my name is $name’.

969


how will you find the total disk space used by a specific user?

1036