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 / sandip
sed '/^#/d' filename
| Is This Answer Correct ? | 9 Yes | 6 No |
Post New Answer View All Answers
Explain how to use grep command to list find the records of a file containing 10 different strings?
How do I use grep to search for a file?
why metadb requires a seperate slice to create Solaris volume manager
Which command is used to create a directory?
What is the search command in unix?
What does 'mkdir' command do in UNIX?
What is the use of the command 'ls -x chapter[1-5]' ?
What is the function of grep command in unix?
How do I run a bash script?
What is s and g in sed command?
What does sed command do in unix?
What is ctrl d?
What is a bash command?
What is grep short for?
What command is used to check the current users?