9 comments

  • rpigab 30 minutes ago

    As a gamer and software developer, I've been Windows-free for over two years, no regrets, maybe kernel level anticheat competitive multiplayer games, but I have tons of other games and not much time to spend in multiplayer. Ubuntu on desktop gaming PC, Ubuntu on laptop, Steam Deck, Debian/Raspbian for servers. GNOME everywhere except on Steam Deck which has KDE, love both.

    > Linux won't stop you if you try to use a command that deletes every file on your PC ("sudo rm -rf /").

    It will definitely stop you from running that command because of "--preserve-root" that is enabled by default, if you want to break your system you have to opt out of it. Just don't try to put an asterisk after, pathname expansion will be a different case ("rm -rf /*").

      MarsIronPI 14 minutes ago

      > It will definitely stop you from running that command because of "--preserve-root" that is enabled by default

      Until you come across a system old enough that the coreutils' rm doesn't have that safeguard. And that is how I accidentally'd my OLPC XO's Fedora install.

      canistel 20 minutes ago

      Fedora has the following aliases in the root .bashrc.

      alias rm='rm -i'

      alias cp='cp -i'

      alias mv='mv -i'

        rpigab 3 minutes ago

        It's a nice addition for certain use cases, however in the case of running "rm -rf ...", it has no effect because of the "-f / --force" flag set afterwards.

        "rm -if" never prompts, "rm -fi" prompts. --preserve-root is an entirely different thing which will stop the command from deleting files even if you told it to.

          $ sudo rm -ri /
          rm: it is dangerous to operate recursively on '/'
          rm: use --no-preserve-root to override this failsafe
        
        When in doubt, you might want to activate xtrace with "set -x", run the command and see what it expanded to. then "set +x" to disable.
  • Rick76 21 minutes ago

    I've been gaming on Linux (CachyOS) for roughly a year now as well, and I love it. Better performance, faster loading, but I do admit there are drawbacks.

    I'm a developer, so I'm techy enough how to look up what I don't know, but I would never recommend this to someone who struggles with technology.

    Kernel antic heat is frustrating but usually its games where I feel like I won't lose anything if I don't play it.

  • johnboiles 9 minutes ago

    Y'all it's been a couple decades but is it _actually_ the year of the Linux desktop now??

      LorenDB 6 minutes ago

      We're getting there! I think the new Valve hardware (especially the Steam machine) will help a lot, and obviously Microsoft has a lot more AI antics planned for the future, which will drive more users away from Windows.

  • jqpabc123 an hour ago

    One year on Linux, two distros, a few tears, four desktop environments

    In other words, you've found a new hobby along with your new operating system.

    And that's OK --- but not everyone is looking for a hobby.

  • ufmace 35 minutes ago