Unix vs Windows Commands Cheat Sheet

Bo Bleyl
1 min readFeb 28, 2023

--

Photo by Pakata Goh on Unsplash

I recently made a switch on development teams that I was working with which took me from working on my MacBook to needing to work on a windows machine. It had been over a year or so since I last had to work extensively in windows and so I made myself a quick little cheat sheet on a note to help me recall the most basic command parallels between Unix and Windows.

If you find this useful, you can bookmark it and use it in the future. I will most likely keep coming through and updating this article to include a more extensive list of command comparisons.

Table written with Markdown. Copy and paste here for a more clear table.

|Function|UNIX|Windows|
|--------|----|-------|
|Change Directory|`cd`|`cd`|
|List directory contents|`ls`|`dir`|
|Print working directory|`pwd`|`cd`|
|Copy file or directory|`cp`|`copy`|
|Move or rename file or directory|`mv`|`move`|
|Remove file or directory|`rm`|`del`|
|Display contents of file|`cat`|`type`|
|Search for pattern in file(s)|`grep`|`find`|
|Terminate process|`kill`|`taskkill`|
|Display Information about process|`ps`|`tasklist`|
|Change permissions|`chmod`|`cacls`|

You can also find me on LinkedIn.

--

--

Bo Bleyl
Bo Bleyl

Written by Bo Bleyl

Softare Developer @ Enterbridge. Father, Youtuber. Read More @ bleyl.dev

No responses yet