Windows与Linux的命令行命令对比
https://www.cnblogs.com/sztom/p/10785140.html
* Windows不区分大小写,Linux区分大小写的。
sn | DOS Command | UNIX Equivalent | Effect | 影响 |
1 | ASSIGN | ln | link file or directory | 链接文件或目录 |
2 | ATTRIB | chmod | change file permissions | 更改文件权限 |
3 | cd | cd | change directory | 更改目录 |
4 | chdir | cd | change directory | 更改目录 |
5 | cls | clear | clear screen | 清晰的屏幕 |
6 | COMP | diff, comm, cmp | file compare | 文件比较 |
7 | copy | cp | file copy | 文件复制 |
8 | Ctl-C | Ctl-C | break (signal) | 休息(信号) |
9 | Ctl-Z | Ctl-D | EOF (end-of-file) | EOF(文件结尾) |
10 | del | rm | delete file(s) | 删除文件) |
11 | deltree | rm -rf | delete directory recursively | 以递归方式删除目录 |
12 | dir | ls -l | directory listing | 目录列表 |
13 | ERASE | rm | delete file(s) | 删除文件) |
14 | exit | exit | exit current process | 退出当前流程 |
15 | FC | comm, cmp | file compare | 文件比较 |
16 | find | grep | find strings in files | 在文件中查找字符串 |
17 | MD | mkdir | make directory | 制作目录 |
18 | MKDIR | mkdir | make directory | 制作目录 |
19 | MORE | more | text file paging filter | 文本文件分页过滤器 |
20 | move | mv | move | 移动 |
21 | PATH | $PATH | path to executables | 可执行文件的路径 |
22 | ren | mv | rename (move) | 重命名(移动) |
23 | RENAME | mv | rename (move) | 重命名(移动) |
24 | rd | rmdir | remove directory | 删除目录 |
25 | RMDIR | rmdir | remove directory | 删除目录 |
26 | SORT | sort | sort file | 排序文件 |
27 | TIME | date | display system time | 显示系统时间 |
28 | type | cat | output file to stdout | 输出文件到屏幕 |
29 | xcopy | cp | (extended) file copy | (扩展)文件副本 |
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。