this post was submitted on 30 Dec 2023
139 points (96.0% liked)

Asklemmy

43810 readers
1 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 6 years ago
MODERATORS
(page 2) 50 comments
sorted by: hot top controversial new old
[โ€“] Lime66@lemmy.world 5 points 2 years ago

Sudo pacman -Syu

[โ€“] SkaveRat@discuss.tchncs.de 5 points 2 years ago* (last edited 2 years ago)
alias cp="rm -rf"

bonus points for putting it into the shells RC file.

Not as destructive as deleting root, but a lot more sneakier

[โ€“] intensely_human@lemm.ee 5 points 2 years ago

sudo apt-get install factorio

Good luck recovering from that one

[โ€“] Hotzilla@sopuli.xyz 4 points 2 years ago

hdparm --yes-i-know-what-i-am-doing --sanitize-crypto-scramble /dev/sda

Modern disks have encryption enabled in disk level. This will change the encryption key on the disk, meaning that in seconds all data in the disk is in unrecoverable state.

This is way better than writing the whole disk 0's or rm -fr /

[โ€“] mokazemi@discuss.tchncs.de 3 points 2 years ago

I was a newbie user, telling a friend of mine about rm -rf /*. I typed it in a hit Enter, telling him it doesn't harm since I didn't enter sudo. But I'd forgotten that I have still permission to delete my home directory. ๐Ÿฅฒ๐Ÿ˜‚

[โ€“] BlueEther@no.lastname.nz 3 points 2 years ago

been there and done rm -rf as root

[โ€“] kootepe@sopuli.xyz 2 points 2 years ago

I'd imagine rm has easily caused the most destruction.

[โ€“] julianh@lemm.ee 2 points 2 years ago

dd if=/dev/random of=/dev/sda

Wipes the entire disk and replaced it with random data.

[โ€“] dukatos@lemm.ee 2 points 2 years ago

tar czf /dev/sda /home

./fire_nukes.sh

[โ€“] lolcatnip@reddthat.com 1 points 2 years ago

If you have to ask, you're not ready to know.

[โ€“] MonkderZweite@feddit.ch 1 points 2 years ago (1 children)

Destructive for me or for others?

[โ€“] oriond@lemmy.ml 1 points 2 years ago

for the terminal's operating system

[โ€“] TheGalacticVoid@lemm.ee 1 points 2 years ago

As a WSL user:

sudo rm -rf /mnt/c/

load more comments
view more: โ€น prev next โ€บ