LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I copy from one directory to another in Terminal? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-copy-from-one-directory-to-another-in-terminal-469909/)

beatupbilly 08-01-2006 08:38 PM

How do I copy from one directory to another in Terminal?
 
I am trying to copy from one directory to another in the terminal because it is not possible to login to Freespire as root except by terminal. So therefore to make any changes to the root file directory I need to be able to copy from my home folder and paste in etc. This is so simple I know but for the life of me I can't figure it out.

anupamsr 08-01-2006 08:42 PM

cp -R source destination?

sohny 08-02-2006 01:58 AM

if on terminal, type

cp -rf <<source dir>> <<dest dir>>
r mean recursive copy so everything in dir
f means force the copy, just to be sure its copied

if on GUI

right click the folder, go to <<copy to>> , select the dir wer u want copy , & then click <<copy here>>


All times are GMT -5. The time now is 03:10 PM.