RSS

SCP file transfer in linux system

11 Jul

Copy the file from local system to the particular server

$ scp example.txt root@190.162.36.98:/system-path/

In the above command just transfering “example.txt” file in my system to particular server path

Explanation :

example.txt –> file name
190.162.36.98 –> server IP
/system-path/ –> folder path in the server

Download the file from particular server

$ scp root@190.162.36.98:/system-path/example.txt .

Explanation :

scp –> command
190.162.36.98:/system-path/example.txt –> server  IP and folder path in server
. –> dot use to save the file in the current directory

 
Leave a comment

Posted by on July 11, 2012 in General, Networking, Ubuntu

 

Tags: ,

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: