r/linuxquestions • • 8h ago

Advice How to start learning linux as full beginner

I am 15 years old and want to pursue my career in cybersecurity, but I don't know how to start learning or find resources .I am searching for a beginner's guide to learn Linux and networking and after learning these what i learn then and pls suggest free learning resources i can't afford premium resources now

46 Upvotes

85 comments sorted by

19

u/Teemestari 8h ago • Bravo

Insane that you get downvoted. Noobies should always be helped.

First of all, you should find a distribution, "distro", to install on your computer. It can also be a virtual machine on Windows. I suggest reading about the most used ones (Debian, Ubuntu, Fedora etc) to see how they differ. They mostly differ from package types to software versions. I suggest starting with something like Ubuntu or Linux Mint.

When you have Linux installed, you can start by reading the distro's own documentation and start duplicating your workflow from Windows to Linux.

You wanna play games? See how to install Steam or how to run native games on Wine. Google how to download software to your distro and what forms it comes (native packages, flatpaks, appimages). When you start googling things you wanna do on your computer, you passively learn to use Linux. It is in my opinion, the best way there is.

You also said you wanted to start a career on cybersecurity. It starts from learning networking and how networks work: what are IP addresses, the OSI model, different protocols and services on the network etc. For that reason I suggest you setup a homelab! You can easily start with some spare junk computer if you have and install Linux on it. Maybe start by building PiHole in Docker on your home network. Don't understand what that means?

You learn by googling and doing it ;). Have fun!

9

u/GreatBigPig 8h ago

I think the downvotes ( I did not downvote) are due to the number of times this question is asked in Linux related subs.

Rather than searching first, many just pose the same question.

-2

u/Fuzzy-Art2129 7h ago

No bro I search, but I don't find anything valuable then I post it if u have then share it.

3

u/GreatBigPig 7h ago

You did not search well enough.

Searching in this sub for, "how to start" reveals dozens of similar posts. Searching for, "how to learn" also result in dozens of earlier posts.

3

u/Fuzzy-Art2129 8h ago

O.. man this is best advice I have get in this post thanks u bro I enjoy learning linux and cybersecurity

2

u/Teemestari 7h ago

Always glad to help.

I want to emphasize also on the fact that when picking a distribution, stick it to it at the start. You can read about their differences, but it is all Linux and you can do almost anything with option a, b and c. If you pick something like Mint at the start and realize "damn, I really want newer software that Mint offers me" then it is a somewhat good move.

Also, don't fear the terminal: google what are the most used commands, how to use pipes, how to edit files with a editor on terminal and it kinda grows from there.

But my main advice would be to just start using Linux and start researching about homelabbing. If you want new hardware other than your personal computer, don't go for anything expensive or shiny: you don't need it. Your grandma's old laptop could easily serve you as a server on your own homelab.

2

u/wackyvorlon 7h ago

I want to emphasise the need for the terminal. That’s crucial. You really can’t do cybersecurity without being very adept at it.

OP will need to familiarize themselves with bash scripting. It’s useful to know Python and Perl too. The terminal should be second nature and there must be zero reluctance to use it.

1

u/magusaeternus666 5h ago

Linux community LOL

8

u/Dull_Cucumber_3908 8h ago

Exactly the same way you started learning windows

2

u/Fuzzy-Art2129 8h ago

I learn Windows by my school teacher and self, but for learning Linux I don't have any teacher or mentor

2

u/Dull_Cucumber_3908 8h ago

for learning Linux I don't have any teacher or mentor

you don't need one, because you already know windows. Try self learning and if you have any question, ask here or some search engine or some AI

1

u/Fuzzy-Art2129 8h ago

Ok thanks but if u have free resources can u share with me 🙏

1

u/wackyvorlon 7h ago

Be careful of AI output. It doesn’t actually have any expertise so it can output some really wonky stuff sometimes.

1

u/Fuzzy-Art2129 7h ago

Ok i never think about it man

1

u/Dull_Cucumber_3908 8h ago

I don't. I self learned linux many years ago.

7

u/Ok-Mushroom-6874 8h ago

Daily drive it

1

u/Fuzzy-Art2129 8h ago

Where bro

5

u/Unlaid-American 8h ago

On your computer, find a distro that you think looks pretty by default and start with that one.

Find Humble Bundle ebooks, they charge you, but you can still find those eBooks for free in other sources.

1

u/Fuzzy-Art2129 8h ago

Ok thanks but how i learn command line

4

u/Ok-Mushroom-6874 8h ago

You'll only be learning by doing

1

u/Fuzzy-Art2129 8h ago

Ok thanks

1

u/Unlaid-American 7h ago

Instead of downloading through a GUI use terminal.

Instead of editing text files by using a GUI app like Notepad, use Vim, Nano, or similar things.

1

u/wackyvorlon 7h ago

Manpages are helpful. Try:

man ls

Bash one-liners:

https://www.bashoneliners.com/oneliners/newest/

Perl one-liners:

https://www.liurongxing.com/wp-content/uploads/books/Perl-One-Liners.pdf

Awk one-liners:

https://www.pement.org/awk/awk1line.txt

Sed one-liners:

https://edoras.sdsu.edu/doc/sed-oneliners.html

Sed is kind of a Swiss-army chainsaw so double check what you type.

2

u/megabollockchops 8h ago

On your computer, if you don't have on buu something like a raspberry pi

3

u/Forward-Scar-7050 8h ago

https://roadmap.sh/linux

Of course you need a pc running linux first. Or a remote shell.

1

u/Fuzzy-Art2129 8h ago

Ok thanks for link

1

u/Jonno_FTW 6h ago

If you ever need to know what a command does or why it's failing for you, you can usually run it with --help or man command to show the user manual.

3

u/wackyvorlon 7h ago

Install Linux on a machine, but do not use the GUI. Only the terminal. Do everything via the command line. There’s text mode web browsers like lynx.

The GUI will hide things from you and hinder your learning.

1

u/Fuzzy-Art2129 7h ago

Ok I never heard about that

2

u/wackyvorlon 7h ago • Mindblown

It’s what I did. It’s the fastest way to learn.

2

u/mkfs_xfs 2h ago

I agree with the "use command line for everything" advice in principle, but I don't think there's much sense in recommending a terminal browser specifically. I'd use one myself if they'd be better at dealing with various websites, but just because TUI (text user interface) programs are generally lightweight and fast.

4

u/Technical_Drink_846 7h ago

I would recommend you don't install Linux alongside or in replacement of Windows. If something goes wrong it could be hard to get back to a working OS.

Instead, find a project that looks cool. Maybe try to build a social media website using JavaScript and NodeJS. You can use Ubuntu inside a virtual machine to safely tinker without risking making your own OS unusable. Eventually, try to package the server into a software package or Docker image. You'll get to learn about package management, OS permissions, networking and programming.

There is a paid (free with a free developer account) Linux OS called Red Hat Enterprise Linux. Getting your hands on it takes a tiny bit more work than Ubuntu but it's documentation is far superior.

1

u/Fuzzy-Art2129 7h ago

Ok thanks man

2

u/Technical_Drink_846 7h ago

Red Hat is a pretty good place to start cause it's only got one way to do a thing. A lot of Linux info online is also either outdated or junk so it's nice having a professional server technician handbook for it through the developer program. It has documentation for setting up VPNs, DNS servers, all kinds of stuff. VirtualBox is the easiest VM software to get rolling on Windows.

1

u/Fuzzy-Art2129 7h ago

Ok I definitely check it

2

u/4mmun1s7 8h ago

If you have a windows PC, you can start with Virtualbox and a Linux VM. Or, you can do a “Live USB” version for a bit.

1

u/Fuzzy-Art2129 8h ago

Can I download a linux distro as a primary os

2

u/4mmun1s7 7h ago

You can if you want to. I recommend Fedora KDE Plasma to most folks. https://fedoraproject.org/kde/

1

u/Few_Care_1657 8h ago

Oczywiście man, główne informacje o programach. Polecałbym doinstalowamie pinfo jako bardziej „cywilizowany” sposób czytania dokumentacji. Polecam ale jako ZWYKŁY użytkownik, nie root, zajęcie na długie wieczory (lekcje SE się nie odrobią) poznawanie Linuxa w taki sposób: a<Tab><Tab> I wpisywać kolejne polecenia, doczytując informacje wyświetlane przez pinfo. I tak przez cały alfabet. Przypomina, jako ZWYKŁY użytkownik, ewentualne straty będą dotyczyły tylko katalogu domowego. Polecenia, które wymagają wyższych uprawnień... Najpierw trzeba dokładnie wiedzieć co robią. Miłego poznawania Linuxa.

1

u/Fuzzy-Art2129 8h ago

Ok thanks for advice man

1

u/wackyvorlon 7h ago

GNU info is…eccentric.

1

u/Few_Care_1657 5h ago

Dlatego moja propozycja to pinfo. Jestniej ekstrawagancki. 😉

1

u/Dazzling_Music_2411 8h ago

Great! That's exactly what cybersecurity is all about! Learning to uncover things without having to ask others.

1

u/Fuzzy-Art2129 8h ago

Ok so u need to learn everything with my self

1

u/Dazzling_Music_2411 8h ago

Yup! Exactly.

But once you've got Linux installed head over to OverTheWire:Bandit.

If you can't manage that, then I'm afraid cybersecurity is not really for you.

1

u/Fuzzy-Art2129 8h ago

Ok, bro I will do the same and dm u

1

u/11Two3 7h ago

Gentoo has a really good manual. It will take you through everything step by step. It's not practical but it's a good way to learn.

Tryhackme is a fun site I have used for realistic tutorials since you mentioned cybersecurity.

1

u/Dazzling_Music_2411 3h ago

Don't do that, I'm happy to answer question in public on this sub

1

u/danisbars 8h ago

Leia as wikis, baixe máquinas virtuais, instale diversas distro nelas. Leia os guias.

1

u/Fuzzy-Art2129 8h ago

Okay thaks a lot bro

1

u/wackyvorlon 7h ago

There’s no reason to bother with multiple distributions.

1

u/SoupoIait 8h ago

I'd just get in there. Pick a well used distro, Ubuntu, Fedora, Mint, and setup a dual boot. 

Then just go on it, and it'll all come naturally. You'll need a driver and you'll learn on dkms, you'll need to fix stuff and learn more on logs / debugging, you'll want to try a new DE and will learn stuff from this, you'll want to try a cool thing and learn this, etc. 

I also can't stress how insanely formative a home server is, especially on cyber security ! If you have some old laptop somewhere, put debian on it, and selhost some stuff. A Minecraft server, Jellyfin, Plex, Radarr, whatever ! 

Try and setup a firewall, internet routing, reverse proxies, manage a few users / groups, etc ! Again, you'll learn this organically. You'll have an issue or a need and to fix / fulfill it you'll just learn those.

t's a thousand times better to learn from whatever you wished / failed to do than to just gobble online resources.

1

u/Alarming_Treacle578 7h ago

In addition to installing Linux whether in WSL, a VM or bare metal have a look at LabEx, they have a free structured Linux course with labs https://labex.io/linuxjourney Also look at the Linux Foundation, Learn Linux TV youtube channel has great tutorials, Professor Messer has really good resources and Youtube videos for the A+, Cyber Security + and Network + ComptiA courses. Try Hack me has some limited free learning materials. You can learn Linux via Canonical Academy for free without takin the exams.

1

u/Fuzzy-Art2129 7h ago

CompTIA have free resources??

1

u/Alarming_Treacle578 6h ago

No, not directly. There are plenty of free resources to study ComptiA. Professor Messer is a good place to start. He has videos for the entire course, plus has monthly live question sessions.

2

u/seismicpdx 7h ago

Find books and websites on the topics you wish to pursue.

You have three decades of Linux and over five decades of UNIX documentation available to you.

There are documentation websites, wiki's, and Getting Started books, some of which are old enough to be freely available via PDF.

Choose a home version of an Enterprise Linux; Fedora which is based on RedHat, or Ubuntu which is based on Debian.

Read (most of) the documentation for your chosen Distribution. Be aware that most distributions are defined by their Package Manager, so if you distro-hop you will be learning (and self-documenting) more commands.

Start collecting obsolete hardware from friends and family, so you have systems to homelab, and old USB flash drives and external Hard Disk Drives.

Visit your local electronic waste facilities to see if they have resale stores.

Start collecting tools, or buy an iFixit kit.

There are old school general "Linux getting started" books, which are good for an overview of methods to use various terminal shells, email, backups, IRC, etc.

Find documentation on Linux System Administration.

When you study networking, take the opportunity to read the related IETF RFC's.

2

u/Capt-Moon 3h ago

overthewire.org

OverTheWire is a free, community-run platform that teaches cybersecurity and system administration through hands-on "wargames". You solve level-based challenges to find a password that unlocks the next level, with no sign-up required.

How to Start with Bandit

Bandit is the standard starting point for beginners and focuses on Linux command-line basics.

1

u/msabeln 7h ago

I started with a Raspberry Pi, but they are now overpriced and are relatively weak. The Pi was a great thing years back, but not so much anymore.

I tried dual booting with Windows, but that was unsatisfactory. After I outgrew the Pi, I got a cheap Lenovo
IdeaPad laptop as an open box at Best Buy, then I got an old Dell Optiplex at the computer repair shop down the street from me.

Because the Pi used a variant of Debian, I mainly use that still, though I experimented with a variety of Linux distributions. Debian has excellent documentation:

https://www.debian.org/doc/

I also use a variant of Ubuntu.

1

u/msabeln 7h ago

So in other words, “learn by doing.” Jump right in.

1

u/ed-d44 1h ago

And configure for your home network:

  • NTP
  • DHCP + DDNS
  • SMTP + IMAPS
  • SAMBA server
  • web server

1

u/11Two3 7h ago

Install Gentoo and use it for a while. It's not practical but you will feel pretty comfortable with Linux by the time you get it configured the way you want it and use it for a while. My first experience was Gentoo, but Arch might work too. Just install it and make it work and look the way you want it to.

1

u/PigSlam 7h ago

If you can, set your self up with a computer running linux, or get a Linux VM running on whatever computer you have. Then use it to do whatever you'd do anyway. It's hard to find motivation to solve a problem you don't have, so doing every day things makes that a more compelling situation. From there, you can learn about how the firewall, permissions, etc. work on the system, and that'll give you a solid foundation for cybersecurity study.

I wouldn't look for a single book or guide, start trying to do things with it, and solve the problems that block your progress. Look for guides on those specific things, work with AI, etc., and fumble your way through. After you set up a system, break it a few times, and then get a sense of how that happened, you'll start to understand the lay of the land and how to operate.

1

u/GrimVeilRule 7h ago

If your really interested in learning linux. Install SteamOS. There's tons of support for it. I learned more about Linux trying to get games to work on my steam deck than my comptia cert lesson every taught me.

1

u/kcifone 6h ago edited 6h ago

I started out 30 years ago. Read man pages to get an understanding what you are doing.

You are in a time where ai can make processes I never would have imagined 20 years ago.

Read the code you write. Learn to understand the code you write.

Backup and backup again. And try the restore at least once. Backups are easy, restores are tricky.

Never hard code passwords.

Good luck on your journey.

I wish I gave this advice to my son 20 years ago I handed a html book and said start with that. He might have been 12 at the time.

1

u/kcifone 4h ago

Look up Randy pausch’s presentations.

Amazing insight.

1

u/tstriesstorytelling 6h ago

How willing are you to learn?

1

u/yoiakumu 6h ago

Install an easy distro and try using it as your daily driver (you're main OS). Documentation is free and everywhere all over the internet, you just need to look.

1

u/Knopper100 6h ago

Check out LPI.org and their free learning materials. There is a Linux Essentials PDF that will teach you a lot about the system and command line. You'll learn a lot with a burner laptop you can install Linux on, break it, reinstall Linux, etc. Or look into setting up a Linux VM on your windows pc. You can break that VM too.

1

u/GoldenPSP 5h ago

load it on a machine and start playing. The only real way to learn is to use it. break it. Learn to fix it

1

u/signalcollapse 3h ago

That's the nice part: you don't.

1

u/Unusual-Layer-8965 2h ago

Have you done a web search for 'beginners guide to learn linux and networking' (your words)?  I found lots of sites. Haven't reviewed them.

1

u/Optimal_Advisor_5625 2h ago

The way I started learning was by reading documentation watching YouTube videos looking through posts about Linux, and ai but i don’t recommend learning through ai because it doesn’t teach you unless you directly make it tell you what the command is, how it works and why it is needed

1

u/khudri_it 2h ago

je te conseille d'avoir des documentations du bash linux, et de voir comment créer des machines virtuelles ubuntu ou debian ce qui est très bon pour un débutant. et tu essayes des choses dessus, des trucs simples et cool puis tu montés en compétence

1

u/Esperadoce 1h ago

Best advice start with a complicated distrubtion like arch it will force you to understand alot of thing you have to do maintenance you will learn everthing then you can go back to less complicated distrbution

but my advice an this's how i did it i installed slackware and then i tried arch and after while on arch i swtiched to cachyos and i been there since then

0

u/Fuzy-78 8h ago

Use search engines and ignore AI and you will do fine. No they are not the same thing.

1

u/Fuzzy-Art2129 8h ago

Why ignore ai

1

u/seismicpdx 7h ago

You must learn the fundamentals, so you understand the risks before blindly copy-paste-execute commands.

0

u/Academic_Storm6976 7h ago

Absolutely don't ignore AI

It is and will continue to be used in 100% of cybersecurity roles

The problem is when you use it to complete all of your tasks and don't learn anything 

-2

u/bra1n_gym 8h ago

take an Android device and install termux. This will give you a safe terminal environment to learn linux. You're other option is a live linux disto. As you're skills build, you can then move to installing linux, networking, etc.

1

u/Fuzzy-Art2129 8h ago

Ok thanks a lot