张明贵-Linux文件上传下载及sCRT配置批量管理功能



【讲课:互动,用提问的方式来吸引听众的注意力,听众吸收最大化】

大学是在许昌学院读的,在我看来,不念PPT的老师就是好讲师,因为大部分任课老师自顾自讲,没有互动,传授的知识我们只是被动的听,没有引导听课者的思考,再此吐槽一下,哈哈!我还是真心希望我的母校越来越好。





文件的上传下载

rz 上传

    rz命令不存在

    [root@xwj ~]# rz

      -bash: rz: command not found


    安装 lrzsz(需要联网或配置yum源)  

    yum install lrzsz


    [root@xwj uploading]# rz

    rz回车,会弹出如下图的窗口,选择上传的文件

    blob.png

   

    Ctrl+c结束

  blob.png

    

    上传文件注意事项:

        1、不能上传文件夹(目录)

        2、需要上传文件夹,先打包,最好打扩展名是zip的压缩包,Linux解压rar的压缩包,还要配置一番

        

sz 下载

    [root@xwj ~]# sz xwj.txt      sz接文件名

    blob.png

    

    如何设置下载的路径

    blob.png





批量管理Linux


    第一步:

    blob.png


    第二步

    blob.png





复习

    查看Linux系统版本

    [root@xwj /]# cat /etc/redhat-release

    

    查看Linux内核

    [root@xwj /]# uname -r

    

    查看主机名

    [root@xwj /]# uname -n

    

    查看32位还是64位

    [root@xwj /]# uname -m

    x86_64

    

    只有/lib 32位

    [root@localhost ~]# ls -ld /lib/

    

       64位

    [root@xwj /]# ls -ld /lib

        lib/   lib64/ 



猜你喜欢

转载自blog.51cto.com/11193863/2151882