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 is it called a shebang?
What do chmod, chown, chgrp commands do?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
Explain mount and unmount command.
Does cp command overwrite files?
How can we use grep command in unix?
What is the general format of unix command syntax?
What is the search command in unix?
How do you repeat a command in terminal?
What does grep v do?
What is {} in find command?
How do I use grep to find a file?
How does the system know where one command ends and another begins?
Is command prompt unix?
What's a command word?