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

Which command is used to restrict incoming messages?

1145


How to use grep command to list find the records of a file containing 10 different strings?

1192


How does the system know where one command ends and another begins?

2311


Explain ‘system calls’ with respect to unix commands?

1148


What are the general commands in using unix os for a beginner?

1215


What does sed command do in unix?

1246


How do I search for a file in unix command?

1057


What is grep short for?

1097


What command will change your prompt to myprompt?

1386


What are reported commands?

1192


What does the command '$ls | wc –l > file1' do?

1296


What are grep patterns?

1148


How do I use grep to find a file?

1162


What will the following command do?

1172


How do you repeat a command in terminal?

1288