博客
关于我
linux 上传下载文件命令
阅读量:807 次
发布时间:2023-02-01

本文共 1281 字,大约阅读时间需要 4 分钟。

For Linux system users, SSH is often the primary means to securely transfer files between systems. Of the many tools available, scp is one of the most user-friendly and efficient. To use scp effectively, you can follow these steps:

  • Run the SCP Command:

    scp [-P] [username]@[ip]:[/file/path] /[local/file/path]
    • Replace username with your Linux username.
    • Substitute ip with the target server's IP address.
    • Enter the full path of the file on the Linux server.
    • Provide the destination file path on your local machine.
  • Using XShell for Cross-Platform File Transfer:XShell is a versatile tool that allows you to manage and transfer files between Linux and Windows servers seamlessly. Once installed, you can:

    • Upload Files to Server: Drag and drop files into XShell's interface or use the built-in file explorer.
    • Download Files from Server: Select files and save them to your local machine's preferred directory.
  • For transferring files between systems, both sz (for sending files to the server) and rz (for retrieving files from the server) are reliable solutions. When using these tools:

    • Send Files to Local Machine:
      sz filename
    • Download Files from Server:
      rz

      After executing rz, a pop-up window will appear, allowing you to select and upload files from your local machine to the server.

    转载地址:http://cpwfk.baihongyu.com/

    你可能感兴趣的文章
    OpenResty(3):OpenResty快速入门之安装lua
    查看>>
    OpenResty(4):OpenResty快速入门
    查看>>
    OpenResty(5):Openresty 模板渲染
    查看>>
    OpenSearch 使用二三事
    查看>>
    OpenSessionInView模式
    查看>>
    openshift搭建Istio企业级实战
    查看>>
    OpenSLL
    查看>>
    Openssh Openssl升级
    查看>>
    openssh 加固
    查看>>
    OPENSSH升级为7.4
    查看>>
    ViewPager切换滑动速度修改
    查看>>
    OpenSSL 引入了新的治理模式和项目,来增强社区参与和决策
    查看>>
    openssl内存分配,查看内存泄露
    查看>>
    OpenSSL创建SSL证书
    查看>>
    openssl在cygwin下编译错误:CPU不支持x86_64(CPU you selected does not support x86-64 instruction set )
    查看>>
    openssl安装
    查看>>
    openssl安装
    查看>>
    OpenSSL生成root CA及签发证书
    查看>>
    Openstack REST API
    查看>>
    OpenStack 上部署 Kubernetes 方案对比
    查看>>