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 | (扩展)文件副本 |