LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Write a script which copies content of file 1 to file 2 without using cp command. (http://www.linuxquestions.org/questions/linux-newbie-8/write-a-script-which-copies-content-of-file-1-to-file-2-without-using-cp-command-932674/)

aashka 03-04-2012 12:21 PM

Write a script which copies content of file 1 to file 2 without using cp command.
 
I need a solution to this question:
Write a script which copies content of file 1 to file 2 without using cp command.

grail 03-04-2012 12:44 PM

And what have you tried? Looks suspiciously like a homework question.

colucix 03-04-2012 01:52 PM

Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.

yoK0 04-10-2012 01:11 PM

cat file > newfile

thezerodragon 04-10-2012 04:49 PM

rsync
 
I don't even use cp any more. I stick with rsync

Kustom42 04-10-2012 04:55 PM

Just use scp instead? lol


All times are GMT -5. The time now is 01:53 PM.