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

    你可能感兴趣的文章
    Neo4j(1):图数据库Neo4j介绍
    查看>>
    Neo4j(2):环境搭建
    查看>>
    Neo4j(3):Neo4j Desktop安装
    查看>>
    Neo4j(4):Neo4j - CQL使用
    查看>>
    Neo图数据库与python交互
    查看>>
    NEO改进协议提案1(NEP-1)
    查看>>
    Neo私链
    查看>>
    NervanaGPU 项目使用教程
    查看>>
    Nerves 项目教程
    查看>>
    nessus快速安装使用指南(非常详细)零基础入门到精通,收藏这一篇就够了
    查看>>
    Nessus漏洞扫描教程之配置Nessus
    查看>>
    Nest.js 6.0.0 正式版发布,基于 TypeScript 的 Node.js 框架
    查看>>
    nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML.
    查看>>
    nestesd exception is java .lang.NoSuchMethodError:com.goolge.common.collect
    查看>>
    nestJS学习
    查看>>
    net core 环境部署的坑
    查看>>
    NET Framework安装失败的麻烦
    查看>>
    Net 应用程序如何在32位操作系统下申请超过2G的内存
    查看>>
    Net.Framework概述
    查看>>
    NET3.0+中使软件发出声音[整理篇]<转>
    查看>>