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 / giri
grep -v '#' input_filename > output_filename
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Name the general commands in using unix os for a beginner?
How many unix commands are there?
Which command is used to delete all files in the current directory and all its sub-directories?
What is the function of grep command in unix?
What is the use of tee command?
What is awk used for?
How to display no of records in oracle using unix command?
What does awk stand for?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What is the general format of unix command syntax?
Explain mount and unmount command.
Which command is used to kill the last background job?
What does sed command do in unix?
How can you see the command line history?
How do I find previous commands in unix?