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
What is the use of tee command?
What is the command to compare two files in unix?
What do know about tee command and its usage?
What is the unix command to confirm a remote host is alive or not?
How do I use nslookup?
What is a bash command?
What does the command '$ls | wc –l > file1' do?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is the use of find command in unix?
Name the general commands in using unix os for a beginner?
What are the differences among a system call, a library function, and a unix command?
Write a command to display a file’s contents in various formats?
What is pipe command in unix?
What is the difference between cat command and more command?
What are some command words?