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
Can you explain a little bit about command substitution?
What is the use of awk command in unix?
How does pipe () work?
Is it inbetween or in between?
What does touch command do in unix?
What is ‘ps’ command for?
How do you grep a case insensitive?
How does shebang work?
What is a bash command?
What is {} in find command?
What is the unix command to confirm a remote host is alive or not?
What is the search command in unix?
What is the command to find maximum memory taking process on the server?
what is the advaantage of each user having its own copy of the shell?
What does 'mkdir' command do in UNIX?