LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to copy one line from one file to another file on line number.. (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-copy-one-line-from-one-file-to-another-file-on-line-number-4175421829/)

gajananh999 08-13-2012 05:03 AM

How to copy one line from one file to another file on line number..
 
Hi,

I have one log file. and i want move one line from log.txt file to my new file on line number.

how to do this


Please Help me.

pixellany 08-13-2012 05:27 AM

SED will do this. See here: http://www.grymoire.com/Unix/Sed.html

Are these homework questions?


All times are GMT -5. The time now is 10:57 AM.