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?

Answers were Sorted based on User's Feedback



How to include comments in your shell scripts?..

Answer / ranjana

# comments

Is This Answer Correct ?    4 Yes 0 No

How to include comments in your shell scripts?..

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

How to include comments in your shell scripts?..

Answer / vipul dalwala

To comment multiple lines U can use

: '
comment1
comment2
comment3
'

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Shell Script Interview Questions

How can you find out how long the system has been running?

0 Answers  


What is the conditional statement in shell scripting?

0 Answers  


Is powershell a language?

0 Answers  


How do I open a jshell in cmd?

0 Answers  


Why are shell scripts used?

0 Answers  


How do I run a shell script in powershell?

0 Answers  


What is the difference between grep and egrep?

0 Answers  


How will you find the 99th line of a file using only tail and head command?

0 Answers  


Write a shell script to get current date, time, user name and current working directory.

0 Answers  


Why is it called a shell?

0 Answers  


Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.

0 Answers  


c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l

0 Answers  


Categories