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 / susanta polley
sed -e 's/^#//g' input_filename > output_filename
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is the unix command to confirm a remote host is alive or not?
What is the use of find command in unix?
How do I find previous commands in unix?
What is the use of awk command in unix?
What does grep v do?
What is the difference between awk and grep?
What is the pipe command?
What do chown command do?
Differentiate cat command from more command.
What does the metacharacter mean?
Which command is used to copy files?
What is the use of finger command?
Describe the usage and functionality of the command rm –r * in unix?
What command is used to check the current users?
Who command in unix operating system?