cmd vs terminal
command prompt windows vs terminal unix. Unix almost has the similar command as windows.
| No. | Linux | Windows |
| 1 | command –help | command /h, command /? |
| 2 | man command | help command |
| 3 | cp | copy |
| 4 | rm | del |
| 5 | mv | move |
| 6 | mv | ren |
| 7 | more, less, cat | type |
| 8 | lpr | |
| 9 | rm -R | deltree |
| 10 | ls | dir |
| 11 | cd | cd |
| 12 | mkdir | md |
| 13 | rmdir | rd |
| 14 | route | route print |
| 15 | traceroute –I | tracert |
| 16 | ping | ping |
| 17 | ifconfig | ipconfig |
Function:
- help, /h, /?: show short description about some command and its parameters
- manual: show detail description of one command.
- copy file
- delete file
- move file
- mv, ren: rename file
- type: displays the contents of file text
- print: print file into printer device
- deltree: delete folder and its contents
- displays files and subdirectories in a directory
- cd: change directory
- md, mkdir: make directory
- rd,rmdir: remove directory
- route print: Display the routing table
The command route serves to define static routes, to erase routes
or simply to see the state of the routes. - Show the route that the packets follow to reach the machine
“host”. Example: tracert www.google.com - Verify the contact with the machine “host”
Example: ping www.google.com - ipconfig, ifconfig: Display information on the active interfaces (ethernet, ppp, etc.)
Okay, that’s it. thx for kunz and the sources(hacker_highscool)