r/linuxquestions • • 4d 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

114 Upvotes

127 comments sorted by

44

u/Teemestari 4d ago • Heartwarming 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!

19

u/GreatBigPig 4d 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.

-1

u/Fuzzy-Art2129 4d ago • Bravo

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

15

u/GreatBigPig 4d 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.

1

u/dragonknightrohan 4d ago

Most people are not taught how to search well, and much less how to search in general in school nowadays due to the curriculum being so barebones. (Depending on the country but rings true for most)

2

u/Teemestari 4d ago

While I understand you and u/GreatBigPig, I always find it funny to engage in a negative way to a post on the internet.

If I see something I'm interested, I interact with it.

If I see something that I don't like, I just scroll past it.

2

u/TheWordBallsIsFunny 3d ago

I try to help people understand an alternative perspective but idk maybe I'm just a chud for doing that

2

u/BrakkeBama 3d ago

https://www.linuxquestions.org/questions/

This^ was my first (actually, 2nd, after 2 books) stop for when I was taking my first steps with Linux in late 1999/early 2000. The forum used to be called LNO (Linux Newbies dot Org).
Even my old LNO username still works.

3

u/Fuzzy-Art2129 4d 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 4d 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 4d 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 4d ago

Linux community LOL

1

u/Albano_Ct 3d ago

Between flatpaks, appimages, and native packages, which one do you think causes the least headaches when someone is first trying to figure out where files actually live on the system

1

u/RighteouslyGiving 3d ago

omg OverTheWire Bandit is perfect for this, y'all its free and you learn linux commands by solving little levels!

1

u/squishblushing 3d ago

this advice is actually useful, makes me wanna try that homelab thing myself now

8

u/Dull_Cucumber_3908 4d ago

Exactly the same way you started learning windows

2

u/Fuzzy-Art2129 4d ago

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

3

u/Dull_Cucumber_3908 4d 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 4d ago

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

4

u/wackyvorlon 4d ago

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

2

u/Fuzzy-Art2129 4d ago

Ok i never think about it man

3

u/jr735 4d ago

2

u/FlamingoNo9580 3d ago

Ich selbst warte schon sehnsüchtig auf die deutsche Version....😅😅😅das Buch ist verdammt gut...

1

u/fuldigor42 3d ago

Ist eine deutsche Version denn geplant???

1

u/FlamingoNo9580 3d ago

Ja....derzeit steht da noch: in Bearbeitung... Bin übrigens keine Ki....bin echt...🌿🌱

2

u/Dull_Cucumber_3908 4d ago

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

1

u/sic_101 3d ago

maybe check out eddy daves bash scripting course: https://course.ysap.sh/ it's free_

5

u/wackyvorlon 4d 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 4d ago

Ok I never heard about that

3

u/mkfs_xfs 4d 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.

2

u/wackyvorlon 4d ago • Mindblown

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

2

u/FlamingoNo9580 3d ago

Noch nie was davon gelesen oder gehört..schau ich mir aber auch mal an...

2

u/gain91 3d ago

this, also "man" command is your friend to read the manual of commands

8

u/Ok-Mushroom-6874 4d ago

Daily drive it

1

u/Fuzzy-Art2129 4d ago

Where bro

5

u/Unlaid-American 4d 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 4d ago

Ok thanks but how i learn command line

4

u/Ok-Mushroom-6874 4d ago

You'll only be learning by doing

1

u/Fuzzy-Art2129 4d ago

Ok thanks

1

u/Unlaid-American 4d 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 4d 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 4d ago

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

4

u/Forward-Scar-7050 4d ago

https://roadmap.sh/linux

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

1

u/Fuzzy-Art2129 4d ago

Ok thanks for link

1

u/Jonno_FTW 4d 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.

5

u/Technical_Drink_846 4d 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 4d ago

Ok thanks man

3

u/Technical_Drink_846 4d 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 4d ago

Ok I definitely check it

2

u/Few_Care_1657 4d 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 4d ago

Ok thanks for advice man

1

u/wackyvorlon 4d ago

GNU info is…eccentric.

1

u/Few_Care_1657 4d ago edited 3d ago

Dlatego moja propozycja to pinfo. Jest mniej ekstrawagancki. 😉

2

u/4mmun1s7 4d 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 4d ago

Can I download a linux distro as a primary os

2

u/4mmun1s7 4d ago

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

1

u/Dazzling_Music_2411 4d ago

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

1

u/Fuzzy-Art2129 4d ago

Ok so u need to learn everything with my self

1

u/Dazzling_Music_2411 4d 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 4d ago

Ok, bro I will do the same and dm u

1

u/11Two3 4d 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 4d ago

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

1

u/danisbars 4d ago

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

1

u/Fuzzy-Art2129 4d ago

Okay thaks a lot bro

2

u/wackyvorlon 4d ago

There’s no reason to bother with multiple distributions.

1

u/SoupoIait 4d 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 4d 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 4d ago

CompTIA have free resources??

1

u/Alarming_Treacle578 4d 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.

1

u/tstriesstorytelling 4d ago

How willing are you to learn?

1

u/Fuzzy-Art2129 2d ago

Very much bro

2

u/tstriesstorytelling 2d ago

If you have a spare drive, plug it into your motherboard, get some iso on a USB stick, install and start using. Just do it. Worse case you got ChatGPT to help you out. Until it doesn't. All part of the learning journey

1

u/signalcollapse 4d ago

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

1

u/WesternNo845 3d ago

Starting at 15 is honestly a great advantage.

1

u/Fuzzy-Art2129 2d ago

I think i am very late 😕 this whole think come in my mind when i was something around 12

1

u/msabeln 3d ago

I learned with a friend. We both studied together and read the same documentation.

1

u/Fuzzy-Art2129 3d ago

But i am solo learner for this

2

u/seismicpdx 4d 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/Knopper100 4d 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.

2

u/Capt-Moon 4d 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.

2

u/IMP4283 4d ago

I highly suggest OverTheWire: Bandit and Linux Journey.

2

u/mrlarp1505 3d ago

I was like this 2 years ago the first distro I recommend is mint lmde no Ubuntu cause we hate snap

2

u/_MrJengo 3d ago

Look up Linix Journey by Labex. It is imo the best starting point to learn useful commands and ways to interact with Linux. Other than that, just go full Linux and start doing things in terminal, changing configs etc. The more you break the more you will have to fix.

Also look up David Bombal on YouTube, he has very nice free courses about CCNA and networking and other cool videos about tech.

Network Chucky is also a great channel

2

u/changework 2d ago

Unkernel.dev gives you a full Linux kernel and basic tool chain IN YOUR BROWSER.

This isn’t “cloud” or anything like that. It runs in your browser.

2

u/demon007uk 20h ago

this is a great start chris is very helpful https://www.explainingcomputers.com

1

u/msabeln 4d ago edited 3d 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.

2

u/ed-d44 4d ago

And configure for your home network:

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

1

u/msabeln 3d ago

One of the first projects I did was create a router for my network. Recently I’ve been working on updating a NAS.

1

u/msabeln 4d ago

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

1

u/11Two3 4d 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 4d 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 4d 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 4d ago edited 4d 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 4d ago

Look up Randy pausch’s presentations.

Amazing insight.

1

u/GoldenPSP 4d 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/Unusual-Layer-8965 4d 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 4d 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 4d 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 4d 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

1

u/TheNinjaGeek 3d ago

As some have already mentioned, pick a distro and just get started, usually Mint or Ubuntu as it's easier for beginners, there is no better way than just doing it and figuring it out whilst you learn along the way.

With that being said, I usually recommend the 30 day Linux Upskill Challenge for beginners who are trying to get a basic understanding of Linux.
Also you can check out freeCodeCamp, they have a ton of free resources such as https://www.freecodecamp.org/news/learn-linux-for-beginners-book-basic-to-advanced/

and for networking, I think Cisco has a free beginners course (last I checked it was free) that you can use to better understand how networking works before you go down the cyber security path.

1

u/Square_World_7601 3d ago

just use linux in your day to day life and try to stick on terminal for maximum tasks instead of looking for GUI apps and eventually you will be a master of linux

1

u/DavidJohnMcCann 3d ago

Buy a second-hand copy of Linux for Dummies, which covers the general principles, plus the details of OpenSUSE and Ubuntu. Install either of those — SUSE Enterprise Linux is the major player alongside Red Hat; Ubuntu server is the cheap alternative and Ubuntu is an introduction to Debian, which runs so much of the internet.

1

u/EkIsBetter1 3d ago

Personally, what helped for me (as a 14 year old) is to install linux, any real beginner friendly distro is fine.

After that, you continue going through the linux iceberg; In my path it looked something like this:

Linux Mint --> Fedora --> Arch -->NixOS --> Gentoo --> Linux From Scratch --> Beyond Linux From Scratch

I honestly think that the best why to learn linux is just to use it.

1

u/rohitfarmer 2d ago

Probably unpopular/polarising advice, but recently I asked ChatGPT to write me a curriculum to learn statistics, and it did a good job. Then I followed the curriculum it wrote and searched for the topics one by one. So you can try that. Tell an LLM what you know and where you are at currently, and ask it to write a syllabus that you can systematically follow.

1

u/demon007uk 19h ago

personally i’d first play around with different distros get a feel for the whole setup process for linux and its terminal syntax then look into the bash script side of things slowly build your confidence of what your working with and don’t forget ai is awesome these days will help you out a lot for information

1

u/demon007uk 19h ago

a raspberry pie is kinda basic and slow will probably put you off but they do work just have to wait a little bit longer than normal cheap but effective for a learning curve

-1

u/Fuzy-78 4d ago

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

0

u/Fuzzy-Art2129 4d ago

Why ignore ai

2

u/seismicpdx 4d ago

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

0

u/Academic_Storm6976 4d 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 

0

u/Fuzy-78 3d ago

AI can't even list the rosters of a CFL team correctly or make a functional timer. It's like asking a tarded boomer to define woke. AI dose not think, it just repeats whatever shit has been thrown into its DB. Like a tarded alcoholic boomer defending magats, it will spew trash and mis/dis-information as facts. Trust AI and you play Russian roulette.

0

u/ArtynLuck 3d ago

A free alternative to VirtualBox is GNOME Boxes, it's super lightweight and works great for running Linux distros on weaker machines.

-2

u/bra1n_gym 4d 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 4d ago

Ok thanks a lot

0

u/Genrawir 3d ago

Apart from compatible hardware, don't worry too much about spending money on Linux resources. The best way to learn is to install it on some hardware and use it. I would also recommend to avoid dual booting so you don't mess up windows and can get creative with what you do with your install. It doesn't have to be new. An old Win10 machine that couldn't be updated would be perfect.

Whatever distro you pick will have documentation. This is a good reason to pick a popular one. Even if you can fix things the same way on other distros, details may be slightly different.

Distro hopping is generally counterproductive without a good reason. You're better off fixing stuff and learning from that than hoping for a perfectly configured system out of the box.

0

u/[deleted] 3d ago

[removed] — view removed comment

1

u/Fuzzy-Art2129 3d ago

O mann this is so underrated but content is mund blowing 😮‍💨 u have more like this