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 command statement?
What are the differences among a system call, a library function, and a unix command?
Explain command to display different lines that are found when compare two files?
Give the command for finding the current date.
Why is it called grep?
What is grep in bash?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
Is grep faster than awk?
What command is used to check the current users?
What is the difference between cat and more command?
Why is it called a shebang?
What do know about tee command and its usage?
Which command is used to restrict incoming messages?
Write a command to kill the last background job?
What are reported commands?