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 “chmod” command?
What is sed awk grep?
Which command should you use to find the remaining disk space in unix server?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What is grep command in unix with examples?
Which unix command to make a new directory?
Which command is used to delete all files in the current directory and all its sub-directories?
What do chmod, chown, chgrp commands do?
What are the differences among a system call, a library function, and a unix command?
What is the command to compare two files in unix?
What is the nmap command?
What is $0 bash?
What are some command words?
Why is shebang used?