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
How do you repeat a command in terminal?
What are grep patterns?
Give the command for finding the current date.
Differentiate cat command from more command.
What is unix command line?
What is the functionality of a top command?
What do chmod, chown, chgrp commands do?
What is rmdir command?
What does the command '$ls | wc –l > file1' do?
What does find command return in unix?
What does this command do,"$more readme.txt“?
How does pipe () work?
How do you grep recursively?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
What does the “echo” command do?