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
Enlist some filename manipulation commands in unix.
What is grep command in unix with examples?
What is {} in find command?
What is grep and how do you use it?
How do I search a whole word in vim?
What is the command to view process running?
What is grep in bash?
What is unix command?
What is nr in awk command?
Why is grep called grep?
What is the use of cut command in unix?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
How do I open a port?
Which command can you use to find the currently running process in unix server?
What are the differences among a system call, a library function, and a unix command?