How i'll delete a particular line from the file? Please give
answer as soon as possible. Thanks in advance.

Answers were Sorted based on User's Feedback



How i'll delete a particular line from the file? Please give answer as soon as possible. Thank..

Answer / rabindra mishra

sed 'n,n+1,n+2/d' file1> file2

Is This Answer Correct ?    0 Yes 3 No

How i'll delete a particular line from the file? Please give answer as soon as possible. Thank..

Answer / shanthi

press shift+backspace on that specific like ...
This can remove the line

Is This Answer Correct ?    0 Yes 7 No

Post New Answer

More Unix Commands Interview Questions

How do you create a file in UNIX

36 Answers   Accenture, EMG, Nokia, QA, TD,


to list a particular line in the file

5 Answers  


What is the protocol for PING command?

1 Answers   IBM,


what is the difference between SED and GREP ? Which one is more better and why?

4 Answers   IBM,


What are bash commands?

0 Answers  






Explain command to view process running?

0 Answers  


Give command that will make the file "run.sh" executable?

10 Answers   IBM,


distinguish between user mode and kernel mode?

4 Answers   Infosys,


how to remotely move a file ??? that mean how to move a file one machine to another machine ???

10 Answers   Altair,


what are the different hardwares available?

1 Answers  


How to install scsi driver in unix? give me explanation clearly?

1 Answers   HCL, TCS,


Which command is used to delete all files in the current directory and all its sub-directories?

0 Answers  


Categories