Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Write a command to display a file’s contents in various formats?

1167


What is the pipe command?

1134


How does pipe () work?

1046


How do I use grep to search for a file?

1016


Is ‘du’ a command? If so, what is its use?

1103


Name the various commands that are used for the user information in unix.

1033


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)?

1525


How does the system know where one command ends and another begins?

2187


What is the comma to display different lines that are found when compare two files?

1102


What is command statement?

1114


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

1029


How does shebang work?

1025


How do I find previous commands in unix?

1137


How do I run a whois command?

1115


What do chmod, chown, chgrp commands do?

1233