Top community members
All Questions Ask Question

Welcome to Dirask IT community! ❤ 💻
We are community of people that helps each other.

If you think you have some skills to help others

help someone and become a part of our community - List Q & A

SCP zip file from linux to linux

1 answers
1 points

How can I copy zip file from 1 linux server to another? I am on 1 remote server and want to copy zip file from remote server.

1 answers
3 points

SCP from linux to linux - command:

scp user_name@remote_ip_address:/remote_dir/remote_file.zip /local_dir/

Practical example (persoanlly use it a lot):

scp user_name@remote_ip_address:/opt/filename.zip .

This command will ask you for password to remote server.

Explanation:

/opt/filename.zip - it is your remote file

. - it will be copied to current directory where we are on current machine

We can also give destination directory like this:

scp user_name@remote_ip_address:/opt/filename.zip /home/

 

0 comments Add comment

Checkout latest Findings & News:

Checkout latest questions:

Checkout latest wiki articles:

Hey 👋
Would you like to know what we do?
  • Dirask is IT community, where we share coding knowledge and help each other to solve coding problems.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.
Read more