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
Write a command to display a file’s contents in various formats?
What is the pipe command?
How does pipe () work?
How do I use grep to search for a file?
Is ‘du’ a command? If so, what is its use?
Name the various commands that are used for the user information in unix.
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
How does the system know where one command ends and another begins?
What is the comma to display different lines that are found when compare two files?
What is command statement?
What is the comma to show the space allocation of files?
How does shebang work?
How do I find previous commands in unix?
How do I run a whois command?
What do chmod, chown, chgrp commands do?