Ever had a question about Linux but felt too afraid to ask? Well now’s your chance, ask any question about Linux, no matter how noob or repeated it is, and I and others will help answer them.

Previous noob question thread: https://lemmy.ml/post/14261893

  • Teppichbrand@feddit.org
    link
    fedilink
    arrow-up
    2
    ·
    2 days ago

    I want to upgrade (Mint 21.3 => 22). Last upgrade took hours and the result was so bad I had to reinstall Mint from scratch. Do you guys use the upgrade tool, or do you have good advice on how to approach this?

    • data1701d (He/Him)@startrek.website
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      3 hours ago

      I don’t use Mint, but I would guess that you could change your repos in /etc/apt/sources.list, run sudo apt update, and then sudo apt full-upgrade. Just make sure the full upgrade isn’t doing really dumb stuff like deleting a bunch of programs.

      I could be completely wrong and this could be terrible advice, but this has become the wisdom for me when I use Debian Testing. Of course, I just did straight sudo apt update after Bookworm was released and the upgrade to Trixie went mostly fine. I have never upgraded between stable versions, so I may not be one to say.

  • eyjohn@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    3 days ago

    I wanna install Linux on my Desktop as main OS after years of windows, last time I tried desktop was Fedora and Ubuntu back in the late 00s, back then all I remember is playing around with Gnome and KDE and compiz…

    Most of what I know about Linux distros today is from memes…

    How can I quickly learn about the best distro for my needs, (general use, some development, and some gaming, easy hardware support). With a toddler and demanding job, I don’t have too much time to just experiment with different distros and draw my own conclusions.

    Thanks in advance.

    • data1701d (He/Him)@startrek.website
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours ago

      I agree with Mint. I think Ubuntu has kind of devolved though, and PopOS is the better way to go. Fedora’s good too these days.

      My recommendation is to try out a few distros in VirtualBox before switching - this was my process, and it can be very gradual.

    • ransomwarelettuce@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      Ubuntu and Linux Mint are ideal for people who just want to ignore the OS and get work done.

      If you are a Dev you should be clear of such problem, unless you need a very specific tool, but, many people can’t switch because the programs they work with are not supported on Linux. Take a look into that, and in the worst case scenario you can dual boot windows.

      Gaming wise proton is a bless and let’s you play most games, check protonDB for compability. Major portion of the games that don’t work are due to crappy anticheat solutions.

      Good luck, any other questions feel free to ask.

  • Administrator@discuss.online
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 days ago

    When Gnome and KDE become so major and even noob user can use it withotu problems? When Libre office take over microsoft in office space?

  • jonathanvmv8f@lemm.ee
    link
    fedilink
    arrow-up
    6
    ·
    7 days ago
    1. For Linux enthusiasts, how do you decide which distro you would like to try out next among the plethora of options that are available? The difference I perceive between majority of distros gets smaller the more I try to understand about them.

    2. What are the minimum issues I am likely to face using the most beginner friendly distro like Mint for programming and light gaming?

    3. How customizable is the GUI in Linux Mint specifically? What if I want a start menu like Windows 10 with the app list and the blocky app tiles? What about those custom widgets I see in hardcore Linux users’ desktops?

    4. I heard there is no concept of file extensions in Linux. How am I supposed to work on my projects that I imported from my Windows machine that do contain extensions?

    Bonus: Who creates those distro icons in color coded ASCII in the system info command in the terminal?

    • Brejela the Purple@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      5 days ago
      1. I don’t distrohop. Instead I just use what works for me and what I find comfortable.

      2. You will eventually need to use the terminal. And it will be overwhelming at first. But eventually the learning curve flattens a little when you get more comfortable not breaking your system ;þ

      3. Can’t comment

      4. File extensions are, in essence, nothing but a convention. You don’t even need them in Windows, really (You can open a file with any program, for example, you will just not get anything useful from it). So it’s far from a big deal.

    • Occhioverde@feddit.it
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      6 days ago

      For the #4, the file extension can be seen just as a note, a little tag that’ll help you (or anyone else that will receive your file) remember which program you should use to successfully open the file.

      From the viewpoint of your computer, in fact, a file is just a sequence of bits and every program can open every file, only it will not be able to find what it expects and actually do something useful with it, just as you can open a book written in any possible language: in most cases you will unable to undestand it, in some others you will be able to read it without any problem.

      The “concept” of extensions was than introduced to allow your file manager (Explorer for Windows, Finder for macOS, Dolphin for KDE or Nautilus for GNOME) to know which program to launch when you double click on a certain file through a simple association table (that you can edit in your system preferences).

      In regards to Linux you can sometimes read that file extensions are not a thing, but this is just because in the commandline you launch a specific program that you personally point to a certain file, so there is no file manager that needs to guess which app should be launched to open the document you just double clicked on.

      That said, I think that should be pretty clear that in a Desktop context (like in a Personal Computer) that double click on a file situation pretty much applies to Linux too, so extensions will be useful and respected by the file manager you’ll find installed in your distro of choice, even if it can use other means when that is missing.

      • yetAnotherUser@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        6 days ago

        I’m afraid this answer isn’t 100% correct. There are ways to find out a file’s type beyond looking at an extension. For example, there are lots of file formats where all of the files start with a specific sequence of bites, known as a file signature (or as “magic bytes” or “magic numbers”).

        You can try the file command line tool to check that you can find out a file’s format without resorting to its extension, and you can read the tool’s manpage to learn how it works.

        • Occhioverde@feddit.it
          link
          fedilink
          arrow-up
          4
          ·
          6 days ago

          Yes, I know about them and always prove extremely useful every time I receive a file with a wrong/no extension and have little clue about its content. But since the question was about how OP could work with “files with extensions” produced in Windows, I wanted to help clarify what are they, why they are used and that files do not need to be converted or whatever to be opened in Linux as it can “work with them” just fine.

    • flubba86@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      6 days ago
      1. I usually stick with distros that have large userbases. I’ve tried smaller and niche distros before, and inevitably they stop being maintained, or move in a direction I don’t like. The larger distros like Ubuntu, Fedora, OpenSuse, have more resources (people, time, money) to spend on testing updates, and have reliable update schedules. When I was younger I didn’t care about that kind of thing, but these days I use my PC almost exclusively for work 10 hours a day, 5 days a week, I need my PC to not break when I update it.

      Another technique I use is to go to the vendor site for software I use and look at which Linux distros they officially support. Usually they will publish at least an Ubuntu package, sometimes a universal deb file that works on Ubuntu, Debian or Mint. Sometimes an RPM package for Fedora/CentOS too. This is getting less relevant these days with Appimage files and Flapak images that work the same across all distros.

      It’s natural to get bored or frustrated with one distro and want to try out others. Imagine if Microsoft made many different flavours of Windows that each look and operate differently, everyone who is bored and frustrated with default Windows would be trying them all out, comparing them, debating the pros and cons, communities would form around common favourites.

      I have a small gaming PC that I use to test out other distros, I’m currently on Nobara, that I actually highly recommend for a gaming-focused distro.

      1. This one is really hard to say. It depends on so many factors like what hardware you are running, what software you plan to run, how tech savvy you are, even your definition of what is an issue. Mint is very stable and easy to use, you may run into zero issues getting it installed, running VSCode, playing some Factorio. Or you might run into a small incompatibility between your GPU and the bundled kernel drivers and run into a whole world of hurt spending days tinkering on the command line with no usable graphics driver.

      2. I believe Mint still comes with the Cinnamon Desktop, that is specifically designed to be familiar and easy for users transitioning from Windows. It’s not super customisable, but I think it can do what you described. I’m not the best person to answer, I haven’t used Mint or Cinnamon since 2012.

      3. File extensions are optional in Linux for some kinds of files. Linux usually tries to identify a file type using a “Magic string”, meaning it will read the first 8 to 16 bytes of the start of a file and will be able to tell with a great deal of accuracy what kind of file it is. Executables, drivers, shell scripts, and many others use this method and do not need a file extension. You can definitely still use extensions though. Eg, libre Office will still save documents with a doc extension (.odt). Often Linux will use a combination of both the magic string and the file extension to determine the file type. Eg, the magic string identifies it as an open office file, and the extension tells you it’s a document kind of office file.

      Your Linux photo editor will still save images with a .png or .jpeg extension, because these are the convention (and may be required if you will be opening those files on a different OS). Similarly, your project files created on Windows will still work fine on Linux (if the equivalent Linux app supports that file format).

    • Captain Aggravated@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 days ago
      1. I rarely distro hop. I used Linux Mint for a solid decade. I’ve made the jump to Fedora KDE pretty much entirely because Wayland support is the farthest along here, and that enables me to use more features of my hardware such as two monitors at different refresh rates, Freesync, etc. I did come to the conclusion awhile back that there’s a lot of pointless distros out there, a lot of them are just “I want this particular permutation of default software.”

      2. Assuming you’re currently a Windows user, I think the main issue you’re going to face using Linux Mint Cinnamon Edition for “programming” is going to be general culture shocks. Using a package manager instead of heading to the browser, stuff like that. “Light gaming” depending on what you mean by that could be no trouble at all or dealing with some hiccups involving Nvidia’s imperfect support. There are some games that require proprietary anti-cheat that doesn’t support Linux, Valorant is one of those that springs to mind.

      3. Difficult question to concisely answer; Mint has a system they call “Spices” which include a series of applets and widgets you can add to the UI, choose them from a menu and then configure them. One of these is “Cinnemenu” which replaces the default Menu with a somewhat more customizable one, though you might struggle to exactly replicate the WIndows look and feel. Beyond that, you might look at Conky for your desktop customizing needs.

      4. File extensions do exist in the Linux world but they’re not as important for making things work as it is on Windows. Some files, particularly executable binaries, won’t have extensions at all. A text editor might not automatically append .txt to a plaintext file, because it doesn’t want to assume you’re not writing a bash script or config file or something. But if you record a sound clip with Audacity or something it’ll add a .wav or whatever extension as appropriate.

      Bonus: You probably mean Neofetch (or whatever we’re using since the developer of Neofetch has “gone farming”). Those are hard-coded into Neofetch by its developer.

    • Cyclohexane@lemmy.mlOPM
      link
      fedilink
      arrow-up
      3
      ·
      7 days ago

      For #1, I’ve made the realization that most distros are lightweight skins or addons on top of another distro. Most of the time, if you start with the base distro, all you have to do is install some apps, change some configurations, and suddenly you have that other distro. It is much easier than doing a reinstallation.

      If you filter out all of these distros that only do a little on top of an existing, you’re left with a quite small number actually. I’d bet it’s less than 10 that are not super niche. Fedora, Arch, debian, gentoo, nixos are the big ones. There’s some niche ones, like void Linux and Alpine.

      So I’d say if you try all of those, you don’t need to try any more 😁

    • Cyclohexane@lemmy.mlOPM
      link
      fedilink
      arrow-up
      2
      ·
      7 days ago

      For #2,

      For gaming, if you use steam, you may not face more than the following:

      • game does not work with no well known way to resolve. You can find this out by checking protonDB
      • game does not work because it needs to enable some options. Very easy to fix, and you can find the options on proton db for each game.
      • does not work because you didn’t setup steam right. You often need to enable proton, which in short is steam’s emulator or windows
      • does not work because your gpu drivers did not install. This depends on distro and they should all have a guide on how to do it, but usually it is just a matter of installing something.

      For programming, you will love your life because everything programming is way easier on Linux.

  • SentientFishbowl@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    7 days ago

    Is there a way to assess which packages on my linux distribution aren’t open source? I’m planning on having a secondary machine which is exclusively open source, but not sure how I would go about ensuring that is the case.

    • ober@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      6
      ·
      7 days ago

      This would depend on the distro you use. Most distros will require you to enable a non-free repository before you can install anything that isn’t Foss or open source from the official repos. You could also use an FSF approved distro. Keep in mind, the FSF will only approve distros that don’t include any non-free anything in the official repos. Besides that, you just have to know the licensing before you install it.

    • Malgas@beehaw.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 days ago

      Depends on the distro. Some have a configuration setting to allow unfree software or not, others have separate repos.

    • Cyclohexane@lemmy.mlOPM
      link
      fedilink
      arrow-up
      3
      ·
      7 days ago

      Depends on the distribution, many package managers can filter by license. So you can find anything that doesn’t have an open source license.

    • Cyclohexane@lemmy.mlOPM
      link
      fedilink
      arrow-up
      4
      ·
      7 days ago

      First time Linux user you mean?

      I wouldn’t recommend it, unless you can navigate the terminal well. When you install arch, it installs no desktop environment, only the ability to talk to a terminal.

      It’s technically possible and very doable with some googling, but I wouldn’t recommend it.

    • flubba86@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      7 days ago

      Depends what your goals are. With Arch, you will need to closely follow a guide to get it installed, if anything goes wrong you will need to search through the Arch Wiki for answers. Arch has an insane amount of customisation options, you will spend a lot of time in the Arch Wiki learning about them. By installing Arch you will learn a lot about Linux. Is that your goal?

      You will spend more time reading and learning, but come out further ahead than someone who first installs Ubuntu or Mint.

      However if your goal is to simply install Linux on your PC to try it out, (if you don’t even know if you will like it, and don’t know if you want to learn it’s mechanics) then Arch wouldn’t be my first choice.

    • 🧟‍♂️ Cadaver@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      5 days ago

      I’m using Arch, I love it. What’s absolutely bonkers is that the system belongs to you.

      However, if you have never used Linux, it’s insane to try to install Arch. The online wiki is tailored for people with at least a decent amount of Linux knowledge.

      As a noob, it will result in data loss, except if you’re already very familiar with terminals or are very fluent in IT.

      You might want to try something more user friendly, as Zorin then come back to Arch when you want more power.

    • IAmNotACat@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      6 days ago

      This is what I did. If you generally know what you’re doing around computers it just requires patience and a willingness to “Read the (Friendly) Manual.”

      If you’re running intel, nVidia, dual GPU setup, and some other things, your installation will be more involved.

      But the great part is that once you’ve set all that up, things just generally work and the Arch wiki is an amazing resource.

    • wuphysics87@lemmy.ml
      link
      fedilink
      arrow-up
      3
      arrow-down
      2
      ·
      6 days ago

      The arch wiki is difficult to use for beginners. Each page is single topic. It is not a guide. Using it daily, it takes at least a month to understand it well enough to “build your own guides”. If you want to do that kind of deep dive, jump on in. If not, you’ll have a better time using just about any distro other than arch.

      BTW. If you do decide to take that route. Don’t become one of those miscreants who “uses arch btw” It’s a red flag for someone who doesn’t know wtf they are talking about.

  • ptc075@lemmy.zip
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 days ago

    Could you point me to a good place to start learning how to troubleshoot? I added Unbuntu as a dual-boot to my gaming rig a while back, and when it works, it’s great. But as soon as I hit an error, I drop back to Windows because I know how to fix shit there.

    • azuth@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      5
      ·
      6 days ago

      Ubuntu Wiki Ask Ubuntu Ubuntu Forums

      The wiki has some information and should correspond to how Ubuntu specifically is configured. You can ask for ubuntu specific help in those communities. You can also ask here and on several Linux communities on Lemmy.

      The Arch Wiki I find to be more in depth than the ubuntu wiki. Of course some things may differ from Ubuntu’s defaults but I found it a useful resource when using Ubuntu.

      Finally I suggest you learn a bit about how Linux works in general, what is in what directory, what is wayland and xorg, understand how drives are named etc and some understanding of the terminal (moving around in directories, how to use sudo etc, no need to learn to make bash scripts).

    • bigmclargehuge@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      7 days ago

      First suggestion: commit to using Ubuntu for a set period of time. Could be a week, could be 2 hours. When you encounter issues, force yourself to stay on Ubuntu.

      What you’ll find is that at first, errors will seem like gibberish, then you’ll do some snooping online, and find out how to access some log files or poke around your loaded modules. You’ll slowly learn commands and what they do.

      Eventually, something will click, ie; “wait a minute, I just checked to see which kernel modules are loaded, and I’m missing one that was mentioned in my error, that must mean I need to load that module at boot.” You load that module, reboot, try your command again, and bam, everything works. You’ve learned how to troubleshoot an issue.

      The best way to learn Linux is to immerse yourself in it. You can’t efficiently learn German if, every time you hear a phrase you don’t understand, you switch back to English, right?

    • Cethin@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 days ago

      The first thing I’ll say is the reason you’re more comfortable with Windows is because you’ve been using it for however long and learning to deal with the issues it has. The same needs to be done on Linux. You’ll have to learn how it works just like you forgot you did for Windows.

      Second, along with logs like other users said, you have to know how to use a search engine well. Most issues will be easy to solve, but some may take some searching. The Arch wiki is a good resource even if you aren’t using Arch.

      • InputZero@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        7 days ago

        I recently had the realization that I’ve just been putting up with Windows bullshit forever recently when a friend asked me for help with their work PC. They’re a Mac user, but they just started working from home and have been provided a Windows laptop. They sent me a bunch of rushed texts when their headset stopped working. They changed the default audio device after they launched the program. Which never works on a Windows PC. I never have that problem because I have just learned to live with it, I don’t even think about it anymore.

        Now I’m really starting to notice all the little things I put up with from Windows on my machine. To be fair my Linux machine is just as janky but at least I can say I made it that way. I keep telling myself to ‘tidy’ my Linux machine up but I never do, it still plays games just fine. Usually. If I didn’t fuck with it.

    • Cyclohexane@lemmy.mlOPM
      link
      fedilink
      arrow-up
      3
      ·
      7 days ago

      Just come ask here when you have trouble, and we’ll try to help.

      When troubleshooting, the biggest thing is searching the web honestly. But some more things to help you out: look for logs. Linux has loads of logs and sometimes can tell you how to fix the problem.

      Logs may not be immediately apparent. Some programs have their own log files that you can look into. Sometimes, if you run the program from the terminal, it’ll print out logs there. Otherwise, you read look through journalctl, although this has logs for everything so might be harder to search.

      Another useful tip, particularly for system tools and terminal tools, is manual pages. Just run man ls and replace ls with any command, you’ll get the documentation on how to use that tool.

  • Cornflake@lemmy.wtf
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 days ago

    Finally bit the bullet and got a Thinkpad and I’m leaning towards putting Fedora on it. I’ve never used Linux before but I’ve done some research and I like the idea of something that updates more often than Debian but isn’t as DIY as Arch. Do y’all think Fedora would make a good starting point? I hear it’s stable enough and offers enough non-free applications through the RPM file management system.

    Also, are there any drawbacks in using the immutable Silverblue version? I’m considering it just so I don’t do anything dumb by accident.

    • koncertejo@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      5 days ago

      Fedora is what I’ve got on my Thinkpad right now and so far it seems pretty good! Silverblue is very intriguing to me but I chose not to go with it because I need to be able to modify aspects of how the lower system works (using JACK for audio for music production purposes; afaik this is not really supported through Flatpak). Compared to Arch or Nix OS or whatever else that’s popular with the hardcore Linux enthusiasts, Fedora is just right for someone that needs a working system to just get stuff done.

    • thedeadwalking4242@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      5 days ago

      Never be afraid to try different distros you can always wipe and try again. You won’t break your computer. I’m a big fan of immutable distros but I’ve never tried fedora blue. Either will make a rock solid system

  • Manalith@midwest.social
    link
    fedilink
    arrow-up
    3
    ·
    7 days ago

    I’ve got one progam that I need for work that I cannot get to run on Linux. I’ve tried WINE on both Ubuntu and Zorin (and winlator for android). I have the installer exe file and try to launch with WINE but then nothing happens. Is that a program problem, WINE limitation, or something else? Is there a different program I should try to launch it?

    • kyoji@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      7 days ago

      How are you launching the exe with WINE? Try doing it via the command line if you aren’t already. That way you may get some more information about why it isn’t working. Its as simple as wine path/to/your/exe

      You could also try something like Bottles, which will let you use possibly newer versions of WINE without modifying your system’s WINE.

    • Cethin@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 days ago

      Using a different version of WINE/Proton could work. It may also depend on some extra utilities you need to install on your WINE prefix (Wine tricks is the tool to use for this). If that doesn’t work, the almost guaranteed to work option is a virtual machine running Windows. This comes with a small performance hit, but that may not be a concern.

    • The_sleepy_woke_dialectic [he/him]@hexbear.net
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 days ago

      It could be that only the installer has issues. If you’re dual booting have you tried launching the already installed program from your windows partition?

      Otherwise I would try launching the installer from the wine command line to see if it gives you a specific error there.

  • mat@linux.community
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 days ago

    My Ubuntu server (which has been working for a few years now) recently asked me in a full-screen prompt while updating something about GRUB. There was a list of partitions with just one element, which is the partition that GRUB os on. I was focused on something else so I just hit enter, but now I am really scared to reboot it. Is there any way to pull this back up or to double-check that everything is ok with the machine?

    • jhdeval@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      7 days ago

      you can use grub-mkconfig to verify the grub config and rebuild it if necessary. i dont recall the exact syntax for your distro so I would look it up first.

  • rutrum@lm.paradisus.day
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 days ago

    Has anyone ever used the enterprise version of dbeaver? Does it do as good a job interfacing with nosql databases it does relational databases?

  • Befernafardofo@feddit.it
    link
    fedilink
    arrow-up
    1
    ·
    7 days ago

    How in the world do I set previews while browsing a folder full of photos in KDE plasma (I’m using Nobara because gaming), I can only see the generic photo icon. I love it so far and I’m having very few issues, but trying to sort and delete photos from a folder without a thumbnail/preview is impossible! I have tried googling the issue but apparently it’s not that common? I’m sure these is a dumb setting somewhere but I still haven’t found it.

    • jxk@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      7 days ago

      Install the package kdegraphics-thumbnailers, and then depending on the file manager you may have to enable previews, e.g. in Dolphin > Configure Dolphin > Interface > Previews.

  • zcd@lemmy.ca
    link
    fedilink
    arrow-up
    46
    arrow-down
    11
    ·
    8 days ago

    No question here, just wanted to highlight that I use arch btw

  • Otter@lemmy.ca
    link
    fedilink
    English
    arrow-up
    14
    ·
    8 days ago

    What is something Linux related that you’ve learned recently?

    As a meta question, could this work as an additional (or alternate) recurring discussion question? It felt similar in intent, to encourage people to keep learning / asking questions and chances are that if someone learned something then others will benefit from the information (or correct them)

    • pixelscript@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 days ago

      The other day I learned that you can just grep an unmounted filesystem device. It will read the entire disk sequentially like it’s one huuuuge file. And it will reveal everything on that disk… whether a file inode points to it or not.

      Used it to recover data from a file I accidentally clobbered with an errant mv command. It’s not reliable, but when you delete a file, it’s usually not truly gone yet… With a little luck, as long as you know a unique snippet that was in it, you can find it again before the space gets something else written there. Don’t even need special recovery tools to do it, just use dd in a for loop to read the disc in chunks that fit in RAM, and grep -a for your data.

    • SeikoAlpinist@slrpnk.net
      link
      fedilink
      arrow-up
      15
      ·
      8 days ago

      After 26 years of using Linux, I did my first baremetal “immutable” distro install last week.

      My youngest son is starting school and instead of the Chromebooks that they recommend, I took a chance and installed Fedora Silverblue on a $200 Lenovo “student-rugged” class laptop. Everything works and he hasn’t had any issues so far. He gets access to the same student platform as the other students through Chrome, but then I can install Minetest and Tux Paint and GCompris as well.

      The older kids run Debian stable for years now, but if this works out, I might transition them over next semester.

    • TimeSquirrel@kbin.melroy.org
      link
      fedilink
      arrow-up
      10
      ·
      8 days ago

      I learned how a kernel actually loads a program and switches between them by using timer interrupts and interrupt vectors that point to specific locations in memory to resume execution from. Not specifically Linux related, but I’m trying to learn more computer science, and it just clicked for me two weeks ago. I’ve been programming microcontrollers for ten years, but those are monolithic programs, and while I knew what interrupts were and have used them, I never understood how an OS actually runs multiple things while staying in control. Now I do. About time I understood a core concept of these machines that have been here all 42 years of my life.

      It’s one of those “aha!” moments like when I realized classes and structs are just data types like any other in C++ when I was starting off programming and can be used like them. OOP became fun after that.

      • teawrecks@sopuli.xyz
        link
        fedilink
        arrow-up
        5
        ·
        7 days ago

        I remember when the mapping of virtual memory segments clicked for me. I think i said out loud, “that’s so clever!”. Now it just seems so fundamental to managing memory for user space applications, but I hadn’t thought about how it was done before.