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
Is grep faster than awk?
Name the general commands in using unix os for a beginner?
What are the commands in UNIX to list the files in a Directory?
Why is grep called grep?
Explain ‘system calls’ with respect to unix commands?
Why is it called grep?
What command is used to check the current users?
What is the difference between cat and more command?
What are the dos commands?
Is command prompt unix?
What is the significance of the 'tee' command?
How do I search a whole word in vim?
What is the use of finger command?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
Explain mount and unmount command.