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 size of time_t?

645


What does this command do? Cat food 1 > kitty

976


What is nr in awk command?

600


Explain command to show the space allocation of files?

629


What is the pipe command?

574






What is pipe command in unix?

670


What is the command to view process running?

574


Describe the zip/unzip command using gzip.

608


How many unix commands are there?

627


What is the comma to show the space allocation of files?

558


What does find command return in unix?

592


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

797


What is a bash command?

625


What difference between cmp and diff commands?

720


How do I search for a file in unix command?

546