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 / susanta polley
sed -e 's/^#//g' input_filename > output_filename
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is the use of egrep command in unix?
What is used to type command?
Explain command to display different lines that are found when compare two files?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What is the use of the tee command?
What is pipe command in unix?
Are you in or at the office?
What is sed awk grep?
Explain mount and unmount command.
What do chmod, chown, chgrp commands do?
What command is used to check the current users?
Why is shebang used?
How do I run a whois command?
What is grep r?
Give the command for finding the current date.