Linux vs Windows Commands Last Updated : 17 May, 2020 Comments Improve Suggest changes Like Article Like Report Most of us think that Linux has terminal and we can use a command-line interface only in Linux but it is just a myth. There is a PowerShell and a command prompt in windows as well where we may execute the commands easily. But Windows and Linux have commands with the same name as well. 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 9. command /? man command Display the manual/help details of the command 10. chdir pwd Returns your current directory location 11. time date Displays the time 12. cd cd Change the current directory 13. md mkdir To create a new directory/folder 14. echo echo To print something on the screen 15. edit vim(depends on editor) To write in to files. 16. exit exit To leave the terminal/command window. 17. format mke2fs or 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. 24. tracert traceroute To print the route packets trace to network host. 25. at cron daemon to execute scheduled commands. 26. type cat To print contents of a file. 27. ping ping To send ICMP ECHO_REQUEST to network hosts. 28. nslookup nslookup To query Internet name servers interactively. 29. chdisk du -s For disk usage. 30. tree ls -R To list directory recursively. Examples: 1. Listing Directories and files in the current folder/directory. For Windows: For Linux: 2. Renaming a file. For Windows: For Linux: Comment More infoAdvertise with us Next Article Linux vs Windows Commands M manav014 Follow Improve Article Tags : Technical Scripter Difference Between Linux-Unix Similar Reads How to run Linux Commands on Windows 10? It is a dilemma when you want to switch from one operating system to another. This is a common case when you switch from Windows to Linux. Either you store your data and then uninstall Windows to install Linux and then transfer your data or you can have a dual boot system where you encounter an opti 2 min read Linux Commands Linux commands are essential for controlling and managing the system through the terminal. This terminal is similar to the command prompt in Windows. Itâs important to note that Linux/Unix commands are case-sensitive. These commands are used for tasks like file handling, process management, user adm 15+ min read ls Command in Linux The ls command is one of the most used commands in the Linux terminal to display the files and directories or path in the terminal. So, using the ls command is a basic skill for navigating the Linux file system, handling files, and managing directories.What is the ls Command in LinuxThe ls command i 10 min read How to Use Linux Commands in Windows with Cygwin Cygwin is a collection of tools that provide a Linux Operating System's terminal look, feel, and some of its basic functionality for users of Windows OS who want to have a go over the basic commands of Linux without worrying about installing a Linux OS. To use this tool, first of all, we need to dow 3 min read Linux Commands Cheat Sheet Linux, often associated with being a complex operating system primarily used by developers, may not necessarily fit that description entirely. While it can initially appear challenging for beginners, once you immerse yourself in the Linux world, you may find it difficult to return to your previous W 13 min read Like