Windows and Linux command line command comparison
https://www.cnblogs.com/sztom/p/10785140.html
* Windows is not case sensitive, Linux case-sensitive.
sn | DOS Command | UNIX Equivalent | Effect | influences |
1 | ASSIGN | ln | link file or directory | Link to a file or directory |
2 | ATTRIB | chmod | change file permissions | Change file permissions |
3 | cd | cd | change directory | Change Directory |
4 | chdir | cd | change directory | Change Directory |
5 | cls | clear | clear screen | Clear screen |
6 | COMP | diff, comm, cmp | file compare | File Compare |
7 | copy | cp | file copy | File Copy |
8 | Ctl-C | Ctl-C | break (signal) | Break (signal) |
9 | Ctl-Z | Ctl-D | EOF (end-of-file) | EOF (end of file) |
10 | of the | rm | delete file(s) | Delete Files) |
11 | deltree | rm -rf | delete directory recursively | Recursively delete the directory |
12 | to you | ls -l | directory listing | Directory listing |
13 | ERASE | rm | delete file(s) | Delete Files) |
14 | exit | exit | exit current process | Exit the current process |
15 | FC | comm, cmp | file compare | File Compare |
16 | find | grep | find strings in files | Find strings in files |
17 | MD | mkdir | make directory | Production directory |
18 | MKDIR | mkdir | make directory | Production directory |
19 | MORE | more | text file paging filter | Text file paging filter |
20 | move | mv | move | mobile |
21 | PATH | $PATH | path to executables | Path to the executable file |
22 | ren | mv | rename (move) | Rename (movement) |
23 | RENAME | mv | rename (move) | Rename (movement) |
24 | rd | rmdir | remove directory | Remove directory |
25 | RMDIR | rmdir | remove directory | Remove directory |
26 | SORT | sort | sort file | Sort files |
27 | TIME | date | display system time | Display system |
28 | type | cat | output file to stdout | The output file to the screen |
29 | xcopy | cp | (extended) file copy | (Extended) copies of the documents |