• Linux与DOS的常用命令比较


    命令类型          DOS          Linux        DOS示例                    Linux示例

    复制文件            copy          cp         copy c: eacher1file1 d: mp      cp /home/teacher1/file1 /tmp

    转移文件          move          mv           move file1.doc c: eacher1         mv file1.doc  /home/teacher

    删除文件          del           rm          del c: eacher1example.doc       rm /home/teacher1/example.doc

    编译文件          edit            gedit            edit c:example.doc              gedit /home/example.doc

    比较文件内容        fc             diff           fc  file1 file2               diff file1  file2

    在文件中查找字符串       find             grep         find "username"  file1.doc             grep 'passwd' file1.doc

    格式化软盘          format a:          mkfs         format a:                     mkfs /dev/sda 或 mkfs /dev/fd0

    列举文件          dir           ls            dir                     ls

    清除屏幕          cls           clear         cls                     clear

    退出shell             exit            exit          exit                     exit

    显示或设置日期       date             date         date                   date

    显示命令帮助        /?                 man         command1  /?              man command1

    创建目录          mkdir 或 md      mkdir         mkdir directory1             mkdir directory1

    查看文件          more          less          more file1.txt               less file1.txt

    显示时间          time            date          time                   date

    显示内存情况        mem             free          mem                   free

    重新命名文件        ren             mv          ren file1.txt  file2.txt             mv file1.txt file2.txt

    显示当前位置            chdir            pwd         chdir                     pwd

    Microsoft Windows [版本 6.1.7601]
    版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

    C:UsersAdministrator>chdir
    C:UsersAdministrator

    C:UsersAdministrator>

  • 相关阅读:
    spring mvc controller间跳转 重定向 传参
    SpringMVC拦截器(资源和权限管理)
    Spring3 MVC 拦截器拦截不到的问题
    使用HandlerInterceptor实现简单的授权
    同一个form里,不管哪个 submit 都是直接提交form表单里的内容
    AJax+springMVC+JQURY.GET--注册界面即时刷新用户名是否存在
    Ajax异步检查用户名是否存在(附Demo下载)
    Ajax注册表单用户名实时验证
    SpringMVC记住密码功能(实例)
    CocoaPods停在Analyzing dependencies解决方案
  • 原文地址:https://www.cnblogs.com/zlslch/p/5982474.html
Copyright © 2020-2023  润新知