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

Answer Posted / rabindra mishra

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

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the md command do?

578


Why is it called grep?

565


What is s and g in sed command?

563


Explain ‘library functions’ with respect to unix commands?

606


Explain ‘system calls’ with respect to unix commands?

606






How do I delete files from command prompt?

555


What is ctrl d?

597


What is awk command used for?

602


Which command will print your home directory on screen?

548


how to sort the content of the file based on numeric values

1256


Explain the steps that a shell follows while processing a command.

683


What is the use of find command in unix?

588


Who command in unix operating system?

669


How does the system know where one command ends and another begins?

1582


Are you in or at the office?

612