zoukankan      html  css  js  c++  java
  • 文件互传

    除了用filezilla这样的软件实现本地与服务器文件互传,也可用命令,window下常用xshell这样的命令编辑器

    有时filezilla传文件会出现些问题,这时候常用scp命令

    linux与linux互传:

    本地到远程主机:scp local_file remote_username@remote_ip:remote_file
                          scp -r local_folder remote_username@remote_ip:remote_folder

    远程主机到本地scp root@www.cumt.edu.cn:/home/root/others/music /home/space/music/1.mp3 
                           scp -r www.cumt.edu.cn:/home/root/others/ /home/space/music/

    window与linux互传:

             使用xshell登录到远程服务器后查看是否安装了sz rz命令,输入rpm -qa|grep  sz和 rpm -qa|grep  rz出现版本号即已安装,否则用yum install sz和yum install rz安装。

            win->linux:输入rz即弹出文件选择框

            linux->win:输入sz filename即弹出存放路径选择框

  • 相关阅读:
    存储过程3前台
    最简单Login程序
    存储过程前台2
    程序员 开发工具箱
    存储过程4前台
    存储过程 insert
    公司网络解决方案
    存储过程前台
    linux常用指令
    ReentrantLock源码解析3优先响应中断的lockInterruptibly
  • 原文地址:https://www.cnblogs.com/li-mei/p/5976176.html
Copyright © 2011-2022 走看看