0% found this document useful (0 votes)
51 views2 pages

Sno. Windows Linux Description

This document compares common commands used in Windows and Linux operating systems. It lists 30 commands and their equivalents across both platforms, including commands for directory listing, file renaming, copying, moving, clearing screens, deleting files, comparing file contents, searching files, displaying help, changing directories, setting time/date, creating directories, writing to files, formatting drives, checking free space, deleting directories, killing tasks, listing running tasks, setting environment variables, changing file permissions, tracing network routes, scheduling commands, printing file contents, pinging network hosts, querying name servers, checking disk usage, and listing directories recursively.

Uploaded by

Riyas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views2 pages

Sno. Windows Linux Description

This document compares common commands used in Windows and Linux operating systems. It lists 30 commands and their equivalents across both platforms, including commands for directory listing, file renaming, copying, moving, clearing screens, deleting files, comparing file contents, searching files, displaying help, changing directories, setting time/date, creating directories, writing to files, formatting drives, checking free space, deleting directories, killing tasks, listing running tasks, setting environment variables, changing file permissions, tracing network routes, scheduling commands, printing file contents, pinging network hosts, querying name servers, checking disk usage, and listing directories recursively.

Uploaded by

Riyas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

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.

You might also like