How i'll delete a particular line from the file? Please give
answer as soon as possible. Thanks in advance.
Answer Posted / ranjan tikoo
If I have 10 lines in the file and I want to delete line 5
and 6 then use
sed '5,6 d' temp1.txt > temp2.txt
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Who command in unix operating system?
Is it inbetween or in between?
What do know about tee command?
How to display no of records in oracle using unix command?
Why is it called a shebang?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
Using unix command how to display no of records in oracle?
Explain ‘system calls’ with respect to unix commands?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What are some command words?
What is the use of find command in unix?
Is ‘du’ a command? If so, what is its use?
Explain command to show the space allocation of files?
Why is shebang used?
What are the general commands in using unix os for a beginner?