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
Explain mount and unmount command.
What do know about tee command?
What difference between cmp and diff commands?
What is the general format of unix command syntax?
What is ctrl d?
What is time_t?
What is grep and how do you use it?
What does grep v do?
What is the difference between grep and grep?
What are the unix commands?
Which command is used to delete all files in the current directory and all its sub-directories?
What does sed command do in unix?
What does the metacharacter mean?
Explain ‘system calls’ with respect to unix commands?
What is unix command line?