There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

vk6flab ,
@vk6flab@lemmy.radio avatar

One of my colleagues managed to accidentally run something like rm -rf /var/tmp/ * on a Solaris machine that was the mail server for the entire organisation.

After the command finished they realised that the inadvertent space in front of the asterisk meant that the command did slightly more damage than intended.

They were told to leave the machine running to be able to fix it from a backup, but they rebooted instead.

An open file is still usable even after it’s been deleted, so the kernel and shell were still up and running … before the reboot …

If I recall, it took weeks to fix, involving floppy disks, Sun engineers and much egg on face.

LodeMike , (edited )

The rm command REALLY needs to have the -f flag changed edit: to mean “ignore write protection” not “go turbo fuckery mode”

vk6flab ,
@vk6flab@lemmy.radio avatar

Yeah, except for root that is exactly how it works.

As root you are permitted to shoot your own foot and are expected to know how to aim.

LodeMike ,

Actually its the same as it overrides confirmation settings…

wildbus8979 ,

Remember kids, you gotta use rm -rf --no-preserve-root /* now a days!

Kowowow ,

What is that for?

CCF_100 ,

Overrides the protection in place that prevents you from deleting the root of your filesystem.

TropicalDingdong ,
ImplyingImplications ,

Too many people got trolled into “removing the French language pack” on Linux systems that there’s now a check to see if someone is deleting every file off their computer (including the os system files). --no-preserve-root is the option you need to include to actually delete all the files off your system.

Jumuta ,

weird how it doesn’t warn you for rm -rf /* though

lseif ,

depending on your shell, i believe the glob is expanded before it gets to the rm program

wander1236 ,
@wander1236@sh.itjust.works avatar

Contrary to the memes, Linux does actually sometimes try to stop you from shooting yourself in the foot

rtxn ,

Yes, do as I say!

gregorum ,

<span style="color:#323232;"> sudo make me a sandwich 
</span>
SzethFriendOfNimi ,

<span style="color:#323232;">make: unable to find input files me, a, sandwich
</span>
SkyeHarith ,

<span style="color:#323232;">
</span><span style="color:#323232;">touch me
</span><span style="color:#323232;">touch a
</span><span style="color:#323232;">touch sandwich
</span><span style="color:#323232;">sudo make me a sandwich
</span><span style="color:#323232;">
</span>
LainTrain ,

Every time I get one of these even if I 100% feel like I know what I’m doing it strikes a deep fear in me

Barbarian ,
@Barbarian@sh.itjust.works avatar

rm -rf /* will work just fine (assuming sudo permissions ofc)

You need the additional flag for rm -rf --no-preserve-root /

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines