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 |
Why we are using UNIX OS when we are doing the testing in our application?
Sorry to all Technical person for mistake of Question. Now i am post currect question Why copied file permission is changed in destination. When i give all permission i.e 777 to file and copy that to other location in destination the permission is 755. But if give permission 555 in destination that file permission is 555 and if give permission 444 to file after copy in destination the file permission is 444. These all are happening in normal user. How the umask value is calculate here really i am not understand. Please write the proper answer. Thanks in Advance
distinguish between multi-tasking,multi-user,multi- processing and time sharing?
7 Answers Alcatel, Cisco, Infosys, University Exams,
distinguish between physical addresses and logical address?
what is virtual machine?
What do know about tee command and its usage?
what are processor execution levels and priorities?
what does a process mean?
distinguish between physical addresses and logical address?
23 Answers College School Exams Tests, CTS, Infosys, SAX, TATA, TCS,
How do I use grep to find a file?
What does pipe () return?
Which command is used to copy files?