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 / sandip
sed '/^#/d' filename
Is This Answer Correct ? | 9 Yes | 6 No |
Post New Answer View All Answers
Who command in unix operating system?
What is the difference between cat command and more command?
Can you explain a little bit about command substitution?
What is the use of tee command?
How to use grep command to list find the records of a file containing 10 different strings?
Describe the zip/unzip command using gzip.
Explain command to show the space allocation of files?
How do I search for a file in unix command?
What does pipe () return?
What is ‘ps’ command for?
how to sort the content of the file based on numeric values
What is s and g in sed command?
What is unix command?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What is time_t?