博客
关于我
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/

    你可能感兴趣的文章
    Openstack CLI命令管理私有云主机实战(附OpenStack实验环境)
    查看>>
    openStack instance error 恢复
    查看>>
    openstack instance resize to
    查看>>
    openstack message queue
    查看>>
    openstack network:dhcp binding fail
    查看>>
    openStack openSource CloudComputing
    查看>>
    Openstack REST API
    查看>>
    OpenStack ussuri 私有云平台搭建企业级实战
    查看>>
    OpenStack 上部署 Kubernetes 方案对比
    查看>>
    Openstack 之 网络设置静态IP地址
    查看>>
    openstack 创建虚拟机的时候报错: Failed to allocate the network(s), not rescheduling.].
    查看>>
    OpenStack 存储服务详解
    查看>>
    openstack 导出镜像
    查看>>
    OpenStack 搭建私有云主机实战(附OpenStack实验环境)
    查看>>
    OpenStack 综合服务详解
    查看>>
    OpenStack 网络服务Neutron技术内幕
    查看>>
    OpenStack 网络服务Neutron详解
    查看>>
    Openstack 网络管理企业级实战
    查看>>
    OpenStack 计算服务Nova详解
    查看>>
    Openstack(两控制节点+四计算节点)-1
    查看>>