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
why metadb requires a seperate slice to create Solaris volume manager
Write a command that will display files in the current directory, in a colored, long format.
What does grep v grep do?
What is the difference between cat and more command?
What is the command to compare two files in unix?
How do I use grep to find a file?
What is the use of the tee command?
Write a command to display a file’s contents in various formats?
What does sed command do in unix?
What do know about tee command and its usage?
Is grep faster than awk?
What is the command to find maximum memory taking process on the server?
What are file commands?
What is a command and examples?
What happens when we execute a unix command?