cp command | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

cp command

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 08-10-2007
bkan77 bkan77 is offline
Registered User
 
Join Date: Jul 2007
Last Activity: 17 September 2007, 1:19 PM EDT
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
cp command

hi all
i have a file file.txt on server A and i want to copy it onto another server B

pls tell the cp syntax



thnks
Sponsored Links
    #2  
Old 08-10-2007
joerg's Avatar
joerg joerg is offline
Registered User
 
Join Date: Jan 2002
Last Activity: 22 March 2010, 3:32 AM EDT
Location: Germany
Posts: 168
Thanks: 0
Thanked 0 Times in 0 Posts
Hammer & Screwdriver rcp

No one use it because it is not secure!
rcp this is the command.

man rcp # for more information

But to move files from one serer to an other every body use the
sftp <user_name>@hostname
insert password and then use get or put to move files!

regards joerg
Sponsored Links
    #3  
Old 08-10-2007
bkan77 bkan77 is offline
Registered User
 
Join Date: Jul 2007
Last Activity: 17 September 2007, 1:19 PM EDT
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by joerg View Post
No one use it because it is not secure!
rcp this is the command.

man rcp # for more information

But to move files from one serer to an other every body use the
sftp <user_name>@hostname
insert password and then use get or put to move files!

regards joerg
thnks
i used scp
    #4  
Old 08-22-2007
psiva_arul's Avatar
psiva_arul psiva_arul is offline
Registered User
 
Join Date: Jul 2007
Last Activity: 19 November 2009, 6:58 AM EST
Location: Bangalore, India
Posts: 97
Thanks: 0
Thanked 1 Time in 1 Post
You can move the file from one server to another server using FTP

Let me know if you want the full script to move the file from one server to another server.

Regards,
Siva.P
Bangalore
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
passing command output from one command to the next command in cshell kaaliakahn UNIX for Dummies Questions & Answers 2 02-10-2012 05:59 PM
unix command : how to insert text at the cursor location via command line? xib.be UNIX for Advanced & Expert Users 0 12-22-2010 06:45 PM
Need help! command working ok when executed in command line, but fails when run inside a script! 4dirk1 Shell Programming and Scripting 4 12-02-2010 06:47 AM
awk command in script gives error while same awk command at prompt runs fine: Why? catalys Shell Programming and Scripting 4 09-20-2010 11:07 PM
awk/sed Command : Parse parameter file / send the lines to the ksh export command rajan_san Shell Programming and Scripting 4 11-06-2008 01:29 PM



All times are GMT -4. The time now is 02:44 AM.