Tuesday, November 24, 2009

Copy files between two linux boxes

SCP:

This command is a simple way to copy files between two Linux boxes

Syntax:

scp [filename with path] root@LinuxBox:[path where file needs to be copied]

you will be prompted for a password of the root user of the other machine.

Example:

scp /home/saad/filename root@10.0.0.10:/home/saad/filename

No comments:

Post a Comment