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
What does this command do,"$more readme.txt“?
Who command in unix operating system?
Describe the usage and functionality of the command rm –r * in unix?
What is awk good for?
What is .sh file?
What is the difference between cat command and more command?
What is the use of tee command?
What are the differences among a system call, a library function, and a unix command?
How do I find previous commands in unix?
What do chgrp command do?
How do you grep recursively?
Explain command to show the space allocation of files?
Which command is used to find whether the system is 32 bit or 64 bit?
What does #!/ Bin sh do?
What is {} in find command?