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 to sort the content of the file based on numeric values
what is the advaantage of each user having its own copy of the shell?
Explain ‘library functions’ with respect to unix commands?
What is the first character of the output in ls l command?
Which unix command to make a new directory?
How to use grep command to list find the records of a file containing 10 different strings?
How do I search for text in vi?
What is the use of awk command in unix?
What is the unix command to confirm a remote host is alive or not?
What command is used to check the current users?
What is grep short for?
How can we use grep command in unix?
What is the command to compare two files in unix?
What will the following command do?
What is the use of finger command?