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 / srividya
sed '/^#/ d'
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
What is the behavioural difference between cmp and diff commands?
What does the metacharacter mean?
What is merge command in unix?
How do I open a port?
Who command in unix?
Explain ‘library functions’ with respect to unix commands?
What is the difference between awk and grep?
how to sort the content of the file based on numeric values
What command will change your prompt to myprompt?
What do know about tee command and its usage?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
How does the system know where one command ends and another begins?
Differentiate cmp command from diff command.
What is grep r?
How do I clear my terminal history?