博客
关于我
linux 上传下载文件命令
阅读量:791 次
发布时间: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/

    你可能感兴趣的文章
    2025版最新一文彻底搞懂大模型 - Agent(非常详细)零基础入门到精通,收藏这篇就够了
    查看>>
    Java基础:按位运算符
    查看>>
    Java基础:比较运算符
    查看>>
    Kubernetes多master节点高可用集群安装
    查看>>
    Kubernetes学习总结(16)—— Kubernetes 实战之部署 Redis 集群
    查看>>
    Kubernetes学习总结(18)—— Kubernetes 容器网络
    查看>>
    Kubernetes学习总结(4)——Kubernetes v1.20 重磅发布 | 新版本核心主题 & 主要变化解读
    查看>>
    Kubernetes学习总结(5)——Kubernetes 常见面试题汇总
    查看>>
    Kubernetes学习总结(9)—— 基础架构的未来是 K8s,那么 K8s 的未来在何方?
    查看>>
    Kubernetes实战(一)-Kubernetes集群搭建
    查看>>
    Kubernetes实战(三十一)-Calico网络部署(推荐)
    查看>>
    Kubernetes实战(三十三)-外部Etcd集群部署与调优(更安全的数据存储策略)
    查看>>
    Kubernetes实战(三十二)-Kubeadm 安装 Kubernetes v1.24.0
    查看>>
    Kubernetes快速上手:部署、使用及核心概念解析
    查看>>
    KubeSphere核心实战_kubesphere部署redis02_创建redis现指定存储卷_配置外网访问服务---分布式云原生部署架构搭建048
    查看>>
    lamp 一键安装
    查看>>
    Laravel Passport
    查看>>
    laravel 之 Eloquent 模型修改器和序列化
    查看>>
    Laravel项目宝塔部署全攻略:从0到1的实战指南
    查看>>
    laravl 文件存储云存储
    查看>>