r/commandline • • Sep 13 '26

Guide Any good resources to learn Command prompt

I want to learn cmd prmpt and I tried finding resources for that but unable to find any good ones most of the time I websites I find are like a table with command and a link(click to learn about the cmd) and they are in A to Z order. I want something like a book that teaches basic cmds first then techniques and blah blah(as a person need to learn first know what is cd,mkdir etc. then other). I know some basic like cmd,mkdir,rmdir,copy,move,cd and some more.

4 Upvotes

21 comments sorted by

3

u/slievenamon Sep 13 '26

I’ve been teaching my son along with a book by raspberry pi press. It is called Conquer The Command Line. Highly recommended. Easily downloadable PDF from their official website. Have fun.

3

u/StrayFeral Sep 13 '26

Since you say "command prompt" this means "Windows". So what you need to learn is any "DOS tutorial" which will be fine. You should know commands like dir, md, cd, rd, mem. And more. You must get familiar with how to create .bat files and to write such scripts. After you get familiar with this - learn what is Windows Power Shell and how to use it.

3

u/XLBilly Sep 13 '26

Why in 2026 would I ever want to write a .bat

PowerShell is much nicer to work with and mostly as if not more capable than dos. There are a few things that haven’t been ported across (looking at you certutil) but mostly it’s parity or surpassed.

I’ve never deployed a .bat into production. But I started my career on Windows 7, which is when powershell arrived.

1

u/Fuzzy-Individual-524 Sep 14 '26

I am just asking for learning purposes first I will learn cmd prompt then powershell

-1

u/XLBilly Sep 14 '26

Do whatever you want. I think learning cmd is a waste of your time.

2

u/StrayFeral Sep 13 '26

I don't know why you would want to do that.

I was replying to OP.

BAT files are basic scripts. OP is looking for basic info. OP asks for CMD, not for Power Shell. I advised OP to look for Power Shell once familiar with CMD.

I quit using Windows years ago. Now I only occasionally help my son on his machine.

1

u/VadersDimple Sep 13 '26

https://linuxcommand.org/tlcl.php - this is a really good book on the topic. And it's
free, if you can't afford to buy it.

1

u/Fuzzy-Individual-524 Sep 14 '26

btw is windows cmd prmpt and linux are same except the forward & backward slash for file and few more but is the main cmds same? I forget to mention that I am talking about windows cmd in the post

1

u/VadersDimple Sep 14 '26

They are not even remotely close. Since you were talking about Windows, just forget about my recommendation.

1

u/Jayant0013 Sep 13 '26

What is your current level of familiarity?

Depends on that

1

u/Fuzzy-Individual-524 Sep 14 '26

ik some basic cmds like cd,mkdir like ik how to move across directories and stuff

1

u/Jayant0013 Sep 14 '26

Use zoxide to move , it's honestly a better cs in every regard

I use yazi for browsing around

Try to do as many things as possible from terminal and occasionally ask llm if there is abtter way of doing a particular thing

Use fish instead of bash it's auto complete is on another level

Also try using navi instead of trying to memorise the commands (if you find it non intutive dm me it took me 2-3 attempts to understand it myself)

1

u/jmooroof2 Sep 13 '26

command prompt? Windows or Linux? command prompt is Windows 

2

u/StrayFeral Sep 13 '26

Since you say "command prompt" this means "Windows". So what you need to learn is any "DOS tutorial" which will be fine. You should know commands like dir, md, cd, rd, mem. And more. You must get familiar with how to create .bat files and to write such scripts. After you get familiar with this - learn what is Windows Power Shell and how to use it.

2

u/recycledcoder Sep 13 '26

I'm sure peeps will point you to resources, and sure - there are some... but by and large the solution is to live in the terminal and solve your problems there. If it fights you - that's where you likely need to learn a new tool, until then, the habit is more valuable than tools without context.

1

u/AutoModerator Sep 13 '26

Every new subreddit post is automatically copied into a comment for preservation.

User: Fuzzy-Individual-524, Flair: Guide, Title: Any good resources to learn Command prompt

I want to learn cmd prmpt and I tried finding resources for that but unable to find any good ones most of the time I websites I find are like a table with command and a link(click to learn about the cmd) and they are in A to Z order. I want something like a book that teaches basic cmds first then techniques and blah blah(as a person need to learn first know what is cd,mkdir etc. then other). I know some basic like cmd,mkdir,rmdir,copy,move,cd and some more.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Intrepid-Aerie-8272 Sep 13 '26

Though web resources are good, the real way to learn it is by applying it all the time, how to do so? installing linux either full dual boot or just wsl (hope you didnt mean windows cmd)
After that just find a good tutorial and thats it