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
How do I find previous commands in unix?
What is nr in awk command?
What is grep command in unix with examples?
Who command in unix operating system?
How does shebang work?
What is used to type command?
What is the function of grep command in unix?
What are the unix commands?
What is the use of tee command?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What command is used to switching between users in unix?
Does cp command overwrite files?
Is command prompt unix?
Which command is used to kill the last background job?
Explain command to show the space allocation of files?