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
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)?
What is nr in awk command?
How do I search a whole word in vim?
How does the system know where one command ends and another begins?
Which command can you use to find the currently running process in unix server?
What do know about tee command and its usage?
What is grep command in unix with examples?
What does the “echo” command do?
What is the search command in unix?
What is the use of awk command in unix?
What are filter commands in unix?
How do I find previous commands in unix?
What is the command to view process running?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What command is used to check the current users?