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...

what is the cmd to remove the comment lines from a file and
to display the original text without comments?
thanks in advance......

Answer Posted / srividya

sed '/^#/ d'

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of cut command in unix?

1369


How do I run a whois command?

1154


How do I open a port?

1083


What command is used to switching between users in unix?

1079


What is the difference between awk and grep?

1242


How do I use nslookup?

1092


how to sort the content of the file based on numeric values

1779


Why is shebang used?

1123


What is the comma to display different lines that are found when compare two files?

1152


Differentiate cmp command from diff command.

1169


What happens when we execute a unix command?

1136


Why is grep called grep?

1292


What are the dos commands?

1257


What is command statement?

1167


What are the unix commands?

1095