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 you grep recursively?
What is the behavioural difference between cmp and diff commands?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What is the use of find command in unix?
Differentiate cmp command from diff command.
How do I search for a file in unix command?
What are bash commands?
What is the use of awk command in unix?
What is the use of the command 'ls -x chapter[1-5]' ?
What command is used to check the current users?
What are grep patterns?
How do you repeat a command in terminal?
What is sed awk grep?
What does the command ' $who | sort –logfile > newfile' do?
How do I use nslookup?