LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sed editor in linux (https://www.linuxquestions.org/questions/linux-newbie-8/sed-editor-in-linux-863836/)

Darshini Shetty 02-20-2011 02:08 AM

sed editor in linux
 
Using sed command
1) display first 3 lines of a file.
2) display last lines of a file.
3) display 3rd and 4th lines of a file.
4) Insert 2 more records and save the new file as "newsed"
5) Delete the last 2 records from the file "newsed"

EricTRA 02-20-2011 02:15 AM

Hello and Welcome to LinuxQuestions,

Although LinuxQuestions is all about helping others with Linux problems and questions, it will be very hard for you to find anyone willing to do all the work for you. Besides that, this really sounds like homework. There are a lot of very good Sed tutorials on the web, so put in some work yourself. If you show us what you have come up with yourself and where you have doubts, then we'll be able to help you. You'll learn a lot more if you do it yourself instead of us.

Kind regards,

Eric

Nylex 02-20-2011 02:16 AM

No thanks.

You're not supposed to ask for people to do your homework for you. Do it yourself! This tutorial will probably be useful to you.


All times are GMT -5. The time now is 08:05 AM.