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 substitution?
How do I open a port?
What is ‘ps’ command for?
How do I search for a file in unix command?
What is the difference between grep and grep?
What are grep patterns?
Who command in unix?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
How do I find previous commands in unix?
What is grep in bash?
What is a command and examples?
Why is awk called awk?
Explain mount and unmount command.
What are some command words?
What is the use of cut command in unix?