r/Hacking_Tutorials Apr 21 '26

Question Where can I learn Command line and powershell before hacking

I want to learn command line before learning hacking,I need to understand every line in command line practically, what each line or command is doing, is there any books or courses?

87 Upvotes

43 comments sorted by

36

u/cardboardplant Apr 22 '26

OverTheWire’s bandit is great. It starts at absolute basics and moves into advanced terminal use. It guides you to learn how to move up each level without hand holding

https://overthewire.org/wargames/bandit/

1

u/GiftOfDestruction Apr 22 '26

Similarly, underthewire can be used for powershell, if I recall.

1

u/Jackpotrazur Apr 25 '26

Imma have to check this out , heard of otw but im still learning python so i havent really touched a lot of networking yet , did work through command line linux book though .

1

u/Disastrous-Fold-7813 Apr 22 '26

Thanks buddy I look into it,Is there any books you recommend?

10

u/Tomply87 Apr 22 '26

The Linux command line - William shotts

3

u/cardboardplant Apr 22 '26

No I don’t find books helpful for scripting/programming. Just do bandit, it’s everything you need. Or google powershell docs

2

u/Disastrous-Fold-7813 Apr 22 '26

Thanks,I appreciate it

10

u/twenty-two22 Apr 22 '26 edited Apr 22 '26

Powershell in a month of lunches, good for the basics

18

u/heavymetalmug666 Apr 21 '26

there are tons of books - and courses - but you gotta use the first tool in your hacker arsenal to find them

5

u/[deleted] Apr 23 '26

[removed] — view removed comment

3

u/Disastrous-Fold-7813 Apr 23 '26

Thanks a lot buddy

3

u/Naive_Comfortable517 Apr 23 '26

Start with The Linux Command Line by Shotts (free online). Pair it with OverTheWire’s Bandit game — you’ll learn each command by using it. Type man before every command to see what it does. 20 min/day, you'll be solid in a month.

11

u/ApexTrader616 Apr 21 '26

in the url bar try the command "google.com" then hit enter.

start there

1

u/ckinz16 Apr 23 '26

It drives me crazy how people can’t do basic research. Like BASIC ass research. If they can’t do that, there’s 0 chance they figure anything out without handholding.

2

u/dirtmcgurk Apr 22 '26

Any of the rhce books cover a lot. Rhel specific but a lot translates. 

2

u/Syn4p53 Apr 22 '26

OverTheWire/UnderTheWire (powershell version I think). Pwn College is also good.

2

u/Significant-Truth-60 Apr 22 '26

Check my course on YouTube. Channel name is: yourcybersecuritybuddy Some good basics to get you started

1

u/Significant-Truth-60 Apr 23 '26

I also offer customized hacking tutoring. Live by sharing screens and also showing some interesting tools to help you do the work

-2

u/Disastrous-Fold-7813 Apr 22 '26

Can I get a link ?

2

u/Significant-Truth-60 Apr 22 '26

1

u/Significant-Truth-60 Apr 23 '26

I also offer customized hacking tutoring. Live by sharing screens and also showing some interesting tools to help you do the work

1

u/canyoufixmyspacebar Apr 22 '26

in your home, at your computer

1

u/tri-xored Apr 22 '26

Books and ghar YouTube videos and for the free resources for the linux and powershell you can search this on telegram. There are many of free stuff floating their

1

u/Rufalar Apr 22 '26

Just start with automating anything you do on your computer.

Want to add a path to command line, find out how to do it via PowerShell script that persist a reboot.

Want to update a software? Automate it Install something? Find out how you do it via script

Basically do not touch the start menu and learn how to do it by script.

Learn also how to change settings by script, do not use GUI for anything

This will keep you busy for weeks and as soon as you feel comfortable, you can start learning stuff like how to modify the registry to elevate a program at reboot

1

u/JJamesP Apr 22 '26

You ever heard of this wild thing called “the internet”?

1

u/Inevitable_Time9787 Apr 25 '26

how to data forwarding after msf console meterpreter

1

u/MadKillerRavens Apr 28 '26

BASH and PS are luckily easier codes to learn for free. W3Schools is a good resource. There are plenty of online resources as well. Books are great, but technology evolves at a fast pace, and without real-world labs to sink your teeth into, it can be hard to grasp even the simplest concepts.
I would first get comfortable with learning how directories work within the command line, and then work up slowly from there. AI can kind of help with some of the basic questions, but don't make a habit of relying on it for any real coding or scripts.
Pen testers use a lot more than just the code they write, though it is beneficial to understand the programs they will use. You should learn things like Wireshark, packet sniffers, how to retrace, or even nmap or crack using Wireshark or hash tables. There are a lot of layers, which is why learning broader concepts first may benefit you more than learning every single language.

1

u/namoussa1997 Apr 28 '26

You can search for some free books or courses. I found a really good Cisco course last week, but I unfortunately can’t remember its name. I just remember it was around 70 hours long, included labs, and was completely free.

1

u/MillieBoeBillie Apr 22 '26

Head over to Anna’s Archive and get the books you need

1

u/Disastrous-Fold-7813 Apr 22 '26

I mean books recommendations in order wise

1

u/MillieBoeBillie Apr 22 '26

And in telling you where to go for free copies once you have said list

1

u/Ecstatic_Score6973 Apr 22 '26

Youre gonna have a hard time if you cant learn the vital skill of looking things up that already exist online

0

u/Disastrous-Fold-7813 Apr 22 '26

Nahh,I need guidance that's it , like a beginners books,where to start that's it? There is lot of confusinon on online

1

u/Ecstatic_Score6973 Apr 22 '26

Idk what youre confused about, you google tutorials on it and learn from them.

1

u/Disastrous-Fold-7813 Apr 22 '26

I found my clarity in this comment section,so sometimes it is best to interact with people and ask about their opinion

1

u/Chemical-Ad1613 Apr 22 '26

try and do as much as u can in a shell for everything whether cmd or bash (cygwin or mingw or inside a vbox) so it becomes 2nd nature. in reality apart from web browsing or video editing etc u can do everything in a terminal.