Efficient use of scp command

Sometimes you need to copy a file from a remote hosts.In this case we can use the scp command in a different fashion,not only different but a efficient way to copy the file from the remote hosts not logging into that remote host.

The syntax is as follows-

  $ scp  <remote-host-name/IP>:<remote-host-file-name-with-location>  <path-you-want-to-keep-file>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: