how to remotely move a file ??? that mean how to move a file
one machine to another machine ???

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between awk and grep?

555


Which unix command lists files/folders in alphabetical order?

610


What are the dos commands?

641


What is “chmod” command?

560


Can you explain a little bit about command substitution?

599






Write a command that will display files in the current directory, in a colored, long format.

673


What is the use of finger command?

590


What is the difference between cat and more command?

620


What is the search command in unix?

594


What is command statement?

538


What are the differences among a system call, a library function, and a unix command?

563


How do I search for a file in unix command?

541


What is the use of the tee command?

592


How to use grep command to list find the records of a file containing 10 different strings?

643


What does #!/ Bin sh do?

581