r/HowToHack • • 3d ago

What are some good resources for learning Linux alongside OverTheWire?

I'm looking into it and specifically cybersecurity, but I know before I get to "hacking" I need to know more about stuff like linux, networking, and so on. Right now I'm just starting so I'm focused on learning my way around Linux, understanding it some. I've started making my way through the Bandit game on OverTheWire, but I don't think I'm really retaining much, and I think it's cause I'm not fully understanding the commands I'm running or what I'm doing. Most I end up doing is reading through some linux documentation for a command, most of it currently goes over my head.

I wanted to ask if there were any good resources, be they video, book, or otherwise, that would be helpful in learning Linux alongside the Bandit game.

20 Upvotes

8 comments sorted by

7

u/Coleophysis 3d ago

Tbh, just having a Linux machine and needing to use it day to day. I'd recommend using the command line as much as you can for every day developer stuff

1

u/EverythingIsFnTaken 2d ago

This.

Same as learning to speak a new language, immersion is the quickest route. When you travel to a place that doesn't speak your native language, you will quickly find yourself learning the language of wherever you might be. Similarly, when you're using linux, you'll be necessarily learning things about how to use it.

Additionally, despite how people these days are so very conditioned against being tolerable of enduring the laborious task of having to read any body of text that exceeds two lines, I'll recommend HackTheBox Academy - Linux Fundamentals, which is good material. But personally, in my humble opinion, if you refrain from looking at anything that isn't mentioned in any level's "Helpful Reading Material", OverTheWire's Bandit levels are unmatched in how they make damn sure that you've understood the lessons they teach which, aside from linux fundamentals and quirks, teaches you an arguably more important lesson, which is the critical thinking and problem solving skills required to know how to go about learning what something is and how to use it on your own even when you don't know what that "something" might happen to be.

Finally, generally speaking, one would do well to be aware of the existence of the help argument for commands, invoked (usually) by doing command -h or command --help, and if those options are unavailable, there's almost certainly a man page which you arrive at by doing man command, and lastly, there's a package named "tealdeer" that you can install. Once it's installed run tldr --update to make sure the data is uses is present and up-to-date, at which point you can do tldr command, which is similar to what you'd find in the help argument's output, but instead of detailing everything the command does, it will list common things people do with that command, and provides example syntax for that command that you can use to perform the specified action.

2

u/nimbusfool 3d ago

Set up a siem like wazuh or a local WordPress server and then how to secure it

1

u/ilabsentuser 2d ago

IMO a good starting step is actually using Linux. Those commands that you don't get now will eventually start to make sense and you will learn a lot more.

1

u/webternet 1d ago edited 1d ago

Step 1: LMA, logging, monitoring, and alerting

Set that shit up at home.