Copying files from one unix to another unix box


 
Thread Tools Search this Thread
Operating Systems HP-UX Copying files from one unix to another unix box
# 1  
Old 08-12-2010
Java Copying files from one unix to another unix box

Need a clarification .... While copying files from one unix to another unix box .
I am working on two / three unix boxes which are all in a network.. in which home directory are mounted ..(I didn't understand what is the exact meaniing of that)

So can i copy the files from one box to another with out SFTP/SCP/FTP ... just using CP command ....
If So how can i do that ... and how it is working ...
# 2  
Old 08-12-2010
Yes. You can copy as long as they are mounted. Mounting by meaning is to make file systems available from various hosts on a network through NFS.

Code:
cp /home/user1/file1 /home/user2

here home directories of user1 and user2 may be hosted on any of the systems on the network..but they should be mounted and obviously you have the necessary permissions to do a copy.


-Raja
# 3  
Old 08-12-2010
I will add, since you are on HP-UX, type the command bdf, and you will see the mount points, and especially those from remote servers (by NFS...)
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Copying the file from UNIX box to other

Hi Folks , I have two different unix boxes named lonrs2345 and lonrs2367 now i want to copy a file from lonrs2345 to lonrs2367 , now below is the location of file which i want to copy lonrs2345 :- /opt/app/fgty/abc.xml lonrs2367 :- /opt/app/fgty/ Now as you can see above i want to... (2 Replies)
Discussion started by: n4noida
2 Replies

2. Shell Programming and Scripting

UNIX command to copy files from Windows to UNIX box

Hi Folks, I have a file name abc.xml in my windows machine at the location c:\ytr\abc.xml which I want to place at the unix box machine inside cde directory.. at the following location that is /opt/app/cde/ now the credentials of unix box are abc345 -->(dummyid) ftyiu88--->(dummy passwd) ... (4 Replies)
Discussion started by: punpun66
4 Replies

3. UNIX for Dummies Questions & Answers

Transferring the file from one UNIX box to another UNIX box

Hi Folks, I am using winscp to graphiclly move the files from one unix box to another unix box , let say one unix box crediantials is (These are dummy crediantials) xxx -->username yyy -->password and another unix box name is RRR -->username TTT -->password NOW i need to... (4 Replies)
Discussion started by: punpun66
4 Replies

4. UNIX for Dummies Questions & Answers

Get files from Windows to Unix Box

Hi All, I am a new to unix scripting ...looking for directions from the Gurus. I want to create a FTP script to get Files from windows box to unix box. Thank you for your replies. (1 Reply)
Discussion started by: pbhk
1 Replies

5. UNIX for Dummies Questions & Answers

Copying application directory from one unix box to another

Hi , if I copy an application directory (with all its subdirectories) from one unix box to another (suppose same version), will that application work in the 2nd unix box? (3 Replies)
Discussion started by: me_saby
3 Replies

6. UNIX for Advanced & Expert Users

Copy file from unix box to another unix box

Hi, I am new for perl scripting, I need a script to copy a log file /test/test_yyyymmdd.dat from one unix box to another unix box location /check/check1/ at daily 2:00AM, please let me know how to do that...... Regards, Ann (8 Replies)
Discussion started by: fabrine
8 Replies

7. Shell Programming and Scripting

how to compare all files in one unix box has been to copied to another unix box

Hi our unix admin has copied all files from one unix box to new unix box. We just need to confirm that all the file systems are copied properly. How to validate. (9 Replies)
Discussion started by: sravanreddym
9 Replies

8. Shell Programming and Scripting

Moving files from Unix box to a windows box

Hi All, I need a little help .I want to transfer a file from unix box to a windows box,but the problem i'm facing is that in windows box FTP is not enabled and currently it is nearly impssible to change setting on windows box,i can not use the ftp method ,in my shell script to transfer the file.... (2 Replies)
Discussion started by: Preet
2 Replies

9. UNIX for Dummies Questions & Answers

Running UNIX commands remotely in Windows box from Unix box – avoid entering password

I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked. Is there a way to avoid asking password whenever the SSH connection is made? Can I... (1 Reply)
Discussion started by: D.kalpana
1 Replies

10. UNIX for Advanced & Expert Users

copying files from Unix to NT 4.0 Sp5

Hi, Does onyone know of a utility or command that would permit me to copy files from a UNIX environment to Windows NT SP5 environment. (3 Replies)
Discussion started by: regimbaldpj
3 Replies
Login or Register to Ask a Question