OS X && Linux File Transfer Basics commands

Source: Internet
Author: User

One, download files from the server to the native

1, modify the file belongs to

Because you can only download files that belong to your own file, you should make changes to the action that the file belongs to.

Chown Hudelei/opt/logs/tomcat/app/tomcat_stk_nm/stk-time.log

2. Download to this machine

SCP [Email Protected]:/opt/logs/tomcat/app/tomcat_stk_nm/stk-time.log/users/hvvi/desktop

3. Enter the password

Second, upload folder to the server

1, scp-r/users/hddvvi/desktop/load [email protected]:/opt/logs/tomcat/app/tomcat_stk_nm/

Note: Add-R to error: not a regular file

2, enter the password 3, the file moved upper MV Filename.java. /

  Note: This article uses Mac native and Linux servers.

Here's how to use the command to transfer files between Mac native and Linux, and if you want to transfer files between the two systems, try the method described in this article.

OS X && Linux File Transfer Basics commands

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.