SNo.
Windows Linux Description
1. dir ls -l Directory listing
2. ren mv Rename a file
3. copy cp Copying a file
4. move mv Moving a file
5. cls clear Clear Screen
6. del rm Delete file
7. fc diff Compare contents of files
8. find grep Search for a string in a file
Display the manual/help
9. command /? man command details of the command
Returns your current directory
10. chdir pwd location
11. time date Displays the time
12. cd cd Change the current directory
To create a new
13. md mkdir directory/folder
To print something on the
14. echo echo screen
vim(depends on
15. edit editor) To write in to files.
To leave the
16. exit exit terminal/command window.
SNo. Windows Linux Description
mke2fs or
17. format mformat To format a drive/partition.
18. free mem To display free space.
19. rmdir rm -rf/rmdir To delete a directory.
20. taskkill kill To kill a task.
21. tasklist ps x To list running tasks.
22. set var=value export var=value To set environment variables.
23. attrib chown/chmod To change file permissions.
To print the route packets
24. tracert traceroute trace to network host.
daemon to execute scheduled
25. at cron commands.
26. type cat To print contents of a file.
To send ICMP
ECHO_REQUEST to network
27. ping ping hosts.
To query Internet name
28. nslookup nslookup servers interactively.
29. chdisk du -s For disk usage.
30. tree ls -R To list directory recursively.