how to remotely move a file ??? that mean how to move a file
one machine to another machine ???
Answers were Sorted based on User's Feedback
Answer / ruchi arora
Using the scp command, which mean "source copy"
Syntax:
scp source destination
Example:
Moving a file foo.txt from machine1 to machine2
scp foo.txt host@machine1:/
Is This Answer Correct ? | 10 Yes | 2 No |
Answer / subbareddy kake
ftp:(File transfer protocal).It is useful to transfer file
from remote server to local machine.
rcp:(remote file copy).It is useful to transfer files from
one machine to another machine.
scp:(source copy).It useful to transfer files from one host
to another host
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / sailesh k
[atdev]/abcd/data/atdev $ ftp 70.24.12.410
Connected to 10.24.124.43.
220 cbx82526 FTP server (Revision 1.1 Version wuftpd-2.6.1
(PHNE_34306) Mon Mar 13 11:14:17 GMT 2006) ready.
Name (70.24.12.410:attest): attest
331 Password required for attest.
Password:
230 User atdev3 logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls -lrt
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
total 26560
-rwxr-x--- 1 atdev3 geneva 0 May 15 15:12
Lock
drwxrwxrwx 2 atdev3 geneva 96 May 15 15:12
ftp>mv inputfilename outputfile
ftp> bye
221-You have transferred 0 bytes in 0 files.
221-Total traffic for this session was 3958 bytes in 1
transfers.
221-Thank you for using the FTP service on cbh32526.
221 Goodbye.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / nkambast
scp PATH_1/file_name user_name@machine_name2:PATH_2
PATH_1 :-- Where your files reside.
user_name :-- your login name.
machine_name2 :- Remote machine where you want to keep
(Paste) your files
PATH_2 :-- Where you want to paste the file
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ranjitha s
From Windows to Unix
c:\> ftp
ftp>open IPaddress
for ex:
ftp>open 10.13.80.98
ftp put filename
or
ftp send filename
From Unix to Windows
ftp get filename
or
ftp recv filename
(file shud be presend in the directory )
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sricharan
Differnce between cp and mv.
cp: holds the copy of the file in both source and
destination servers.
mv: removes the file in the source and get created on the
destination server.
scp: server copy is one method to copy from one server to
other.
Syntax: scp username@ip:/path/filename ./
Note: ./ representing as required file is copying in pwd.
We need to execute this command from the destination server.
sftp: simple file transfer protocol
syntax: sftp ip address
prompts for passwd
go for required path and use get command to copy the
required file.
Is This Answer Correct ? | 0 Yes | 0 No |
What do chown command do?
What is pipe command in unix?
What do chgrp command do?
the difference between a soft link and a hard link?
What is in grep command?
What is rmdir command?
What Command will remove a Directory in UNIX?
What is FIND, GREP and SED ? Could you please give me the difference between all the three? Where we use this commnands?
Which is the command used to find out currently executing Process in UNIX?
How to identify whether a file is normal file or directory?
Why we are using UNIX OS when we are doing the testing in our application?
What is the functions of zambie process?