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 is grep command in unix with examples?
What does this command do,"$more readme.txt“?
What is the use of cut command in unix?
What does touch command do in unix?
Explain command to view process running?
What is the pipe command?
Why is it called a shebang?
Explain command to show the space allocation of files?
What are file commands?
What is the significance of the 'tee' command?
What does 'mkdir' command do in UNIX?
What are filter commands in unix?
What is the comma to show the space allocation of files?
How do you grep recursively?
How do you repeat a command in terminal?