List of dangerous shell commands
It is not uncommon to see trolls tricking new Linux/Unix users run commands as a joke. These commands can destroy users data. Can you help me list such commands? For examples, I already collected the following commands:

1. rm -rf /
2. :(){ :|: & };:
3. mkfs /dev/sda1
4. cat /dev/zero > /dev/sda1
5. wget url -O - | sh --
6. curl url | sh
7. dd if=/dev/zero of=/dev/sda2
8. echo 726d202d7266202a | xxd -r -p
9. dd if=/dev/random of=/dev/port
10. echo 1 > /proc/sys/kernel/panic
11. cat /dev/port or cat /dev/mem
12. cat /dev/zero > /dev/mem
13. sudo chmod -r 444 / or sudo chown -r nobody:nobody /
14. last | reboot


I am creating a list of all such commands. Please help me. Thanks!
Sign in to Google to save your progress. Learn more
Deadly commands you should never execute on Linux or Unix-like system: *
Your Twitter/Github ID (optional)
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy