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 is ctrl d?
how to make IGNITE-BACKUP in HP-UX?
How will you know who are the users logged in to the system before 15 minutes?
Differentiate cat command from more command.
use of ls command
How to find the files that are accessed before 10 minutes?
Suppose 1000 processes are running on the system out of those if you have to show only certain process ids which command will you use?
What are the commands in UNIX to list the files in a Directory?
what will this do $cat > file.c ?(file.c is a file in current directory)
what is the command to find out which shell you are running?
Explain command to show the space allocation of files?
what do you understand by 'building block primitive'?