what is the cmd to remove the comment lines from a file and
to display the original text without comments?
thanks in advance......
Answers were Sorted based on User's Feedback
Answer / susanta polley
sed -e 's/^#//g' input_filename > output_filename
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / deepak
sed -e 's/^#//g' -e 's/#//g' input_filename > output_filename
| Is This Answer Correct ? | 6 Yes | 5 No |
What is the output of : $ ps-e $ ps-a commands
Give Command that will change the name of a directly from paypal to eBay
what is the command to get help on a UNIX terminal?
Does cp command overwrite files?
what is the advaantage of each user having its own copy of the shell?
0 Answers BMC, CNS, DELL, Infosys,
How do you move a process which is running background to foreground?
What command would users use to see what file one page at a time in UNIX?
What is the command to find maximum memory taking process on the server?
hw will u use awk in replacing cahrs and files
Explain ‘system calls’ with respect to unix commands?
Which command is used to create a directory?
How do I find previous commands in unix?