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 |
Is it inbetween or in between?
How many bits use for MAC address?
what is the command to get help on a UNIX terminal?
Write a command that will display files in the current directory, in a colored, long format.
What does the metacharacter mean?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
to list a particular line in the file
How would you change all occurrences of a value using VI?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
their is a file1,file2 and i want to append file1 data to file2?
what is virtual machine?