r/linuxquestions • • 1h 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

15 Upvotes

66 comments sorted by

7

u/Teemestari 1h ago

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!

4

u/GreatBigPig 1h 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 54m ago

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

•

u/GreatBigPig 3m 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.

2

u/Fuzzy-Art2129 1h 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 59m 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 50m 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.

6

u/Dull_Cucumber_3908 1h ago

Exactly the same way you started learning windows

2

u/Fuzzy-Art2129 1h ago

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

1

u/Dull_Cucumber_3908 1h 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 1h ago

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

1

u/wackyvorlon 48m 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 47m ago

Ok i never think about it man

1

u/Dull_Cucumber_3908 1h ago

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

7

u/Ok-Mushroom-6874 1h ago

Daily drive it

1

u/Fuzzy-Art2129 1h ago

Where bro

5

u/Unlaid-American 1h 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 1h ago

Ok thanks but how i learn command line

4

u/Ok-Mushroom-6874 1h ago

You'll only be learning by doing

1

u/Fuzzy-Art2129 1h ago

Ok thanks

1

u/Unlaid-American 26m 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.

•

u/Fuzzy-Art2129 3m ago

Ok 👍

1

u/wackyvorlon 45m 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 1h ago

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

2

u/Forward-Scar-7050 1h ago

https://roadmap.sh/linux

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

1

u/Fuzzy-Art2129 1h ago

Ok thanks for link

2

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

Can I download a linux distro as a primary os

2

u/4mmun1s7 1h ago

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

2

u/Technical_Drink_846 55m 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 51m ago

Ok thanks man

1

u/Technical_Drink_846 49m 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 48m ago

Ok I definitely check it

1

u/Few_Care_1657 1h 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 1h ago

Ok thanks for advice man

1

u/wackyvorlon 41m ago

GNU info is…eccentric.

1

u/Dazzling_Music_2411 1h ago

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

1

u/Fuzzy-Art2129 1h ago

Ok so u need to learn everything with my self

1

u/Dazzling_Music_2411 1h 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 1h ago

Ok, bro I will do the same and dm u

1

u/11Two3 26m 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/danisbars 1h ago

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

1

u/Fuzzy-Art2129 1h ago

Okay thaks a lot bro

1

u/wackyvorlon 40m ago

There’s no reason to bother with multiple distributions.

1

u/SoupoIait 1h 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 55m 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 50m ago

CompTIA have free resources??

1

u/wackyvorlon 54m 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 51m ago

Ok I never heard about that

2

u/wackyvorlon 44m ago • Mindblown

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

1

u/msabeln 57m 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 56m ago

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

1

u/seismicpdx 35m 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.

1

u/11Two3 31m 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 27m 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 23m 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.

0

u/Fuzy-78 1h ago

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

1

u/Fuzzy-Art2129 1h ago

Why ignore ai

1

u/seismicpdx 15m ago

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

0

u/Academic_Storm6976 47m 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 

-1

u/bra1n_gym 1h 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 1h ago

Ok thanks a lot