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
How do I search a whole word in vim?
What is the command to find hidden files in the current directory?
What is the difference between cat command and more command?
What is grep command in unix with examples?
What does pipe () return?
How do you repeat a command in terminal?
What is a command and examples?
What is grep and how do you use it?
Are you in or at the office?
What is command substitution?
What is the use of the command 'ls -x chapter[1-5]' ?
Write a command to kill the last background job?
how to sort the content of the file based on numeric values
What is grep r?
Enlist some filename manipulation commands in unix.