this post was submitted on 10 Sep 2023
361 points (100.0% liked)

196

16247 readers
2336 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
all 45 comments
sorted by: hot top controversial new old
[–] [email protected] 85 points 1 year ago (5 children)

Linux even lets you fully remove the French language!

sudo rm -fr /

[–] [email protected] 21 points 1 year ago

Just did it, and I can confirm; the French language is no longer on my computer. Thanks c/196!

[–] [email protected] 8 points 1 year ago

based Switching to linux right now

[–] [email protected] 6 points 1 year ago (1 children)

Can you remove the England language too?

[–] [email protected] 11 points 1 year ago (1 children)

Believe it or not the, the same command will remove all languages from the system.

[–] [email protected] 9 points 1 year ago (1 children)

What incredible versatility!

[–] [email protected] 6 points 1 year ago

Moral of the story: once you remove the French, everything is lost

[–] [email protected] 3 points 1 year ago (3 children)

Isn't it rf? Or do they both work?

[–] [email protected] 14 points 1 year ago

In most commands, the order of flags doesn't matter

[–] [email protected] 7 points 1 year ago

Try it and find out.

spoilerDon't try it and find out, they work the same

[–] [email protected] 3 points 1 year ago (1 children)

r and f are just flags, meaning recursive and force, so it doesn't matter the order

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

So it will remove everything in the / directory and all its subfolders without further asking.

Would it destroy or brick my device? Or just delete the OS and all my data?

[–] [email protected] 4 points 1 year ago (1 children)

It shouldn't brick your PC, but it has happened as a result of computers improperly complying with UEFI spec. There are far easier and safer ways to clear a hard drive than deleting every file and folder recursively.

[–] [email protected] 2 points 1 year ago

The first step of which would be, don't try to clear a hard drive while you have it mounted

[–] [email protected] 56 points 1 year ago (3 children)

You don't need a bootloader if you don't reboot

[–] [email protected] 6 points 1 year ago (2 children)

on a serious note, is possible to never reboot?

like an high availability server that can't never go down, how do they manage kernel updates? *

  • yes i know that now there is kube and docker etc and you can update the container with zero downtime. but how they did it 10 years ago?
[–] [email protected] 8 points 1 year ago (1 children)

Kernel live patching, which basically rewires kernel functions at runtime, lets you update the kernel without rebooting. I don't remember how old that is though.

[–] [email protected] 4 points 1 year ago (1 children)
[–] [email protected] 3 points 1 year ago

That's still downtime, it just doesn't reboot firmware

[–] [email protected] 3 points 1 year ago

You can go without rebooting if you always have power, don't care about updates (security) and don't run into bugs.

It's done with multiple servers I guess. One updates/reboots while the other ones don't.

[–] [email protected] 2 points 1 year ago

every day we strive further from god

[–] [email protected] 26 points 1 year ago (3 children)

In fairness to Windows, stopping users from doing really dumb shit is a feature if you're family tech support.

[–] [email protected] 11 points 1 year ago (1 children)

Linux will also stop regular users from breaking the system.

If you're family tech support, making them superusers is probably a mistake.

[–] [email protected] 1 points 1 year ago

So Linux and Windows are the same in that regard.

Because you can also still uninstall Edge if you wanted, just not through the conventional means.

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago)

I mean, with admin powers you can still easily corrupt your windows system. Not too much different from sudo rm -ing everything.

[–] [email protected] 3 points 1 year ago

What about stopping windows from doing stupid things by itself?

[–] [email protected] 10 points 1 year ago

I have a Raspberry Pi and twice I uninstalled something with the goal of reinstalling it, only to realize that what I uninstalled was required to install anything. And I broke the desktop several times over.

I now use apt install --reinstall, I learned my lesson.

[–] [email protected] 6 points 1 year ago (1 children)

I wish it was like this. In reality Grub's suicidal tendencies catch me off guard.

When I was a noob I used arch for work (btw) and grub constantly broke in dire times.

Now I no longer use grub.

[–] [email protected] 2 points 1 year ago

systemd-boot?
Fwiw years long GRUB user on multiple OSs without an issue

[–] [email protected] 6 points 1 year ago (1 children)

I'm just tech savvy enough to know that I'm not skilled enough for Linux. But Microsoft is starting to piss me off

[–] [email protected] 10 points 1 year ago (2 children)

You are wrong. Linux got really easy. Check out linux mint. Hardest part is making the bootable USB. My elderly parents both like it. Installation is much easier than windows and online help is much more available also.

[–] [email protected] 7 points 1 year ago

If that's true, I'm happy to be wrong. Now to just stop being lazy

[–] [email protected] 2 points 1 year ago (6 children)

I'm FUCKING SICK of Windows bullshit, but Linux really scare me. My impression is that everything you do on Linux requires typing codes in the terminal, even the simplest tasks would require googling the right codes to type.

[–] [email protected] 3 points 1 year ago

Not really you rarely 'have' to get into the terminal, it just get very convenient once you get comfortable with the architecture. Which is not really required either. My 75 yo mom love it, the most techiest thing she does is apply updates by entering her password. I need to help maybe 4 times a year..

[–] [email protected] 3 points 1 year ago

@cordlesslamp @kaput

> Linux requires typing codes in the terminal, even the simplest tasks would require googling the right codes to type.

Sounds like you already know how to use it to best effect. Better install a distro already :)

[–] [email protected] 2 points 1 year ago

Not really. I spend nearly all of my time on the terminal because I like it and can do things very efficiently. I grew up with DOS, so, there's extra nostalgia factor too. For a desktop/laptop, you can do everything in distros like Linux Mint without ever seeing the terminal. Hell, one can code in VSCode on Linux without ever using a terminal.

[–] [email protected] 2 points 1 year ago

Once you get the syntax, which, isn't hard, you get used to it! Any distro you choose will have an excellent guide for your perusal.

[–] [email protected] 1 points 1 year ago

Try Linux in a virtual machine or on a live USB for a few days to ease into it. There's plenty of beginner friendly distros to choose from that don't require using the terminal. You could even try dual booting Linux and Windows if you decide to make the jump. I'm not going to lie and say that Linux is pure smooth sailing compared to Windows, but I can say that as a former Windows user who was terrified of Linux, after using Debian for a few days I've never booted into Windows on my main PC again

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Distros like Suse or Mint don't really require the terminal. They have proper app stores and pretty much everything is in a gui menu. Including the installation process.

[–] [email protected] 5 points 1 year ago

Gotta learn how to fix it somehow!

[–] [email protected] 4 points 1 year ago

Err, you can uninstall Edge, Microsoft isn't blocking you.

It will just break as much as uninstalling the bootloader in Linux.