Recently, I’ve been using linux(tried multiple distros). I’m curious about how linux works, it’s architecture! Is there a book, guide, video, etc to learn about linux? By using linux, I get to know something. It would be better If I know how linux works!

  • Happenchance@lemmy.world
    link
    fedilink
    arrow-up
    23
    ·
    1 year ago

    I’ve been dabbling with Linux for 30 years and it’s only in the last few that it really clicked. I needed a project.

    Go start a home server and give yourself projects to work on. Makes Linux very fast to pick up.

      • Happenchance@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        I actually would recommend learning a hypervisor.

        Not first. For sure. But before you want to do anything serious.

        Proxmox made learning home service hosting so much easier and faster to unfuck.

  • CaptainJack42@discuss.tchncs.de
    link
    fedilink
    arrow-up
    18
    ·
    1 year ago

    If you really want the deep dive, look into LFS (Linux from scratch), besides that I’ve always been the learning by doing kind of guy. Got a problem? Search a solution and read up on the intricacies of the problem

    • sorrybookbroke@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      1 year ago

      I can also suggest installing gentoo if LFS is a bit much, which is understandable. It won’t have as much direct information as LFS but if you look up everything you don’t understand and follow all the links you’ll get a fairly good concept of the thing

      • fbsz@lemmy.mlOP
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Hey, I will try to ubderstand LFS and build it myself. If it’s much harder than I expected it to be, i will install gentoo. What about arch? Why install gentoo instead of arch? The installation process of gentoo will teach me about linux, the same could be said about arch?

        • sorrybookbroke@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          1 year ago

          Absolutely, arch will teach you quite a bit. Not nearly as much as Gentoo though. If you’re going for learning how things work at a core level Gentoo is a fantastic place, though of course LFS will be better though more involved. I’m glad you’re willing to take the harder path though!

          As for arch, it’ll teach you about mounting, user management, partitioning and partition management, an overview of how to set up a system and a few of the options available, and make you more comfortable with the command-line. With a few exceptions, that’s about it. you can understand what makes arch arch in less than a day.

          As for Gentoo, it’s a guided experience that will teach you all of that but much, much more than arch will. With arch you could look more into it, and arch will be very well documented on what to do, but Gentoo will lay out the choices clearer with an explanation as to why. What is SystemD and why would you use something else (or, why you need so much to replace one thing?) How is networking built up? how do package managers work? What different kernels are available and why would you use them? What file system should you use? How does networking work on Linux? How do you install a tarball? What are firmware and microcode?

          Just look at the index (legend?) on this page Gentoo Wiki and then this page Arch Wiki (on the left.) You’ll see how much more Gentoo goes over

          To be clear, I use arch on my main system, it’s a fantastic OS and I’ll likely use it until the heat death of the universe, but installing Gentoo, following the links, and searching up what I don’t understand has taught me much more. LFS will, of course, teach you essentially everything though. It’s a great option, and you’re in for a fantastic journey. Once you’re done you’ll be the most impressive person in the room, if that room is full of us linux nerds

          • fbsz@lemmy.mlOP
            link
            fedilink
            arrow-up
            0
            ·
            1 year ago

            To make the learning process much more enjoyable, I’am going to try one of the OS’es either arch or gentoo. Which one will best for as a beginner? As gentoo has much more wiki than arch, which one will best suit for beginners(like me) to trying to understand things? Are there some resources, where I can learn some very basic stuff like about package manager, linux kernel, etc(if there, please share it here) and then it would be good if I go onto the installation and then onto the LFS thing. Learning linux would be a fantastic journey!

            • sorrybookbroke@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              1 year ago

              I’d argue gentoo isn’t the worst thing to do even as a beginner, but installing arch would likely be the best first step as it’s shorter and you’re more likely to get it running first try. You also don’t have to compile.

              As for other resources, though I prefer reading and doing, youtube might help. Specifically, chris tituss tech’s linux basics playlist or learn linux TV playlist on the subject. Another great resource is to just read the man page for and specific command

              Other than that, install in a virtual machine and start breaking things. Finding the solution will likely teach you quite a bit

    • fbsz@lemmy.mlOP
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Hey, thanks for the great suggestion. Looked onto it and it’s great to build your own linux. I think that’s really the essence of linux, the freedom to build it on your own.

      • silent_water [she/her]@hexbear.net
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        no joke it’s how I learned linux, bootstrapping a gentoo install from the toolchain on up, with a printed manual. it’s surprisingly effective, if time-consuming (took me about 2 weeks to get to a booted system, though most of that was compilation time - took ages back then).

      • milkjug@beehaw.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Another vote for LFS. I like that it is really at the right level of depth (assuming that you already have a basic grasp of computing in general). Even if you end up going with a distro, reading through LFS gave me insights as to why certain things were done in certain ways. Alot of “quick-start” style guides tell you what command to type in, but for brevity reasons, they don’t explain what the command does. For example, you may come across many guides tell you to type sudo or sed or echo or | or >>. It may seem daunting at first, but gradually as you become more at ease with the CLI, all these will start to make sense.

      • milkjug@beehaw.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        One more tip, if you already have a Windows environment, spin up VMs with Hyper-V and start from there. Anytime you mess up, just nuke the VM and spin up another one. I must have burnt through hundreds of VMs (hyperbole) while testing out distros that I like.

  • hottari@lemmy.ml
    link
    fedilink
    arrow-up
    9
    arrow-down
    2
    ·
    1 year ago

    Nothing will teach you the basics of Linux better than a good ol’ Arch installation.

  • Kangie@lemmy.srcfiles.zip
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    IMO running through a Gentoo installation is a great way to learn.

    The handbook is well documented and walks you through all of the steps that an installer would traditionally do.

    You can do it in a VM or bare metal if you’re feeling adventurous!

    • ruination@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I found that, at the cost of a few months of absolute suffering, using Gentoo as my first distro fasttracked my Linux learning.

    • banazir@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Yeah, Gentoo is a good way to get your hands dirty. Reading the guide and trying to dig in deeper as to what you’re doing will give you a decent understanding of Linux.

    • Captain Aggravated@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Even manually installing Arch is a good way to understand the parts of a Linux system, stuff like users, package management, etc. Without heating your house all summer compiling the kernel.

  • candle_lighter@lemmy.ml
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    edit-2
    1 year ago

    If you want to learn the terminal there’s a game called Hack Net that teaches you command line. IMO if you pick a distro like Ubuntu, Pop, Zorin or Vanilla you don’t need the terminal tho

  • amphetaminisiert@feddit.nl
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I’ve learned Linux (and vim) just by forcing me to use it. One day I’ve installed i3 and just used it forcing me to solve my problems by myself haha

    • fbsz@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      the whole OS, everything from kernel to installation to philosophy

      • 3enhjz@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        I printed out a Gentoo manual in 2004 and compiled from scratch to a working os with x. I ruined it a week later and went back to Windows and learned nothing that stuck with me. Ive been messing around with free slackware cd’s since the late 90’s, whole smart home is running debian and ive been gaming on linux close to 10 years now, the synenergy with the deck is fantastic.

        I’m gonna try and start the course in the top comment :)

  • Lettuce eat lettuce@lemmy.ml
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    1 year ago

    I would start with YT channels like Learn Linux TV, Distro Tube, and Lawrence Systems, they have a bunch of great Linux content especially for beginners and intermediate learners.

    Freecodecamp.org YT channel has a free 6 hour intro to Linux course that is very good. you might want to check that out as well.

    For using a distro hands on while learning, any basic distro will do. You might want to check out Arco Linux first though. It’s an Arch based distro that is specifically meant for Beginner and Intermediate Linux users to dig in and learn the nuts and bolts of the Linux Operating System. They have their own resources and the majority of things you learn for one distro will carry over to any other.

    If you’re looking for a formal certification, Comp TIA has a Linux+ certification and there is also a Linux cert called the LPIC-1, both of these are beginner level certs. If you study on your own the earlier resources I listed, you could probably pass those certs pretty easily, but they are only useful if you are trying to get a formal job as a Linux Sys admin, and even then, most jobs want higher level certs than those.

    Still, if getting a formal piece of paper is motivating for you, they might be worth looking into.

    The most important thing though is to just pick a distro, open up the terminal, open up a YT vid and start pecking away. If you have a spare old computer you don’t need, wipe the drive and install a distro on it. That compy becomes your dedicated learning machine for the next year. Make sure it’s one you can destroy because…trust me…you will destroy your installation at least a few times if you’re really trying to learn.

    If you have no spare computer, fire up a distro as a VM in something like Virtual Box. This can be useful because you can save old VM states to recover if you blow something up, although learning to recover from disaster without having to literally start from scratch is a valuable skill in and of itself.

    Good luck and have fun! I got started with Linux about 4 years ago and it’s been an amazing ride so far!