this post was submitted on 30 Dec 2023
149 points (94.6% liked)

Asklemmy

43908 readers
1020 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 5 years ago
MODERATORS
(page 2) 50 comments
sorted by: hot top controversial new old
[โ€“] leds@feddit.dk 8 points 10 months ago

smbios-token-ctl pick one of the "dangerous - permanent write once" tokens

[โ€“] SkaveRat@discuss.tchncs.de 5 points 10 months ago* (last edited 10 months 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

[โ€“] Lime66@lemmy.world 5 points 10 months ago

Sudo pacman -Syu

[โ€“] intensely_human@lemm.ee 5 points 10 months ago

sudo apt-get install factorio

Good luck recovering from that one

[โ€“] netburnr@lemmy.world 5 points 10 months ago* (last edited 10 months ago)

shutdown -h now

Sucks when the host is remote and you do a -h instead if a -r

[โ€“] Turbula@lemmy.ml 5 points 10 months ago (2 children)
[โ€“] chaogomu@kbin.social 8 points 10 months ago (1 children)

That wouldn't work on my system.

Typing apt just opens the man page for pacman.

[โ€“] jbaber@lemmy.sdf.org 5 points 10 months ago

sudo apt remove ratpoison

[โ€“] Hotzilla@sopuli.xyz 4 points 10 months 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 /

[โ€“] cmnybo@discuss.tchncs.de 4 points 10 months ago* (last edited 10 months ago) (1 children)

dd if=/dev/urandom of=/dev/sdx will overwrite every single byte of /dev/sdx with random data. Replace /dev/sdx with the drive you want to wipe. Optionally, specify a larger block size to speed it up more.

load more comments (1 replies)
[โ€“] BlueEther@no.lastname.nz 3 points 10 months ago (5 children)

been there and done rm -rf as root

load more comments (5 replies)
load more comments
view more: โ€น prev next โ€บ