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 |
How to remove a crontab file?
How do you change file permissions and ownership in Unix?
distinguish between interrupts and exceptions?
how many types of file in unix?
34 Answers MNC, TCS,
Through which command will redirect output to bOth screen and files at the same time?
What is the use of cut command in unix?
Assume that a file’s permissions give you read and write access. What operations can you perform on the file if it is in a directory which has “r”(read) only process? What operations can you perform on the file if it is in a directory which has “x”(execute) only access?
How can you create a symbolic link to a file or directory?
What does the “echo” command do?
how to delete entire records in unix ?
What are the differences among a system call, a library function, and a unix command?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.