What does this command do

hi i do ethical hacking just wondering if anyone knows what this command does when you run it i just thought what happens if i say admin kill everything does it kill all process because i haven’t seen or could find anyone using this im to afraid to test this on bare metal i dont use vms for linux and i don’t want to break my lab environments so i though i would ask if anyone knows

sudo killall *

This command is probably doing nothing. killall kills process by name. The ‘*’ is a shell glob which is expanded to all filenames in the current folder. If one of these files happens to have the same name as a running process, this process is being killed. Most likely no such process does exist and nothing happens.

i know what kill all i just dont want to accidentelty mess thing up really bad

thx for the explanation makes more sense now

I agree with @mbod, probably nothing will happen. I know you don’t like to use vms but they are the safest way to experiment with things like this.

i do use them i just dont want to destroy ones have ill probably setup upa minimal headless one for this when i get home

That is what snapshots are for. Take a snapshot of the VM, if you break it, go back to the snapshot.

smart will do it

“Ethical hacking”? Isn’t that an oxymoron?

No, it’s white-hat hacking. They’re paid by companies to run penetration tests. They might go after bug bounties, or hack open source software to report bugs.

This is what I am currently trying to learn. But only the basics to make my home network / home server more secure.

I started with this :

That seems like a useful investment to me. It’s definitely worth it to understand the basics. But I’m sure the book goes even deeper into the subject matter. I’ll keep an eye on this purchase. Thank you!