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 will the following command do?
Does cp command overwrite files?
Name the various commands that are used for the user information in unix.
What does this command do,"$more readme.txt“?
Is grep faster than awk?
Explain command to show the space allocation of files?
What are the commands in UNIX to list the files in a Directory?
What does find command return in unix?
What is the unix command to confirm a remote host is alive or not?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What command is used to check the current users?
What is the use of finger command?
Describe the usage and functionality of the command rm –r * in unix?
What is the difference between cat and more command?
What does the command ' $who | sort –logfile > newfile' do?