Skip to content

Instantly share code, notes, and snippets.

@lostgoat
Created August 1, 2019 13:06
Show Gist options
  • Save lostgoat/e2f1197497932db8ac6b34b1145bb627 to your computer and use it in GitHub Desktop.
Save lostgoat/e2f1197497932db8ac6b34b1145bb627 to your computer and use it in GitHub Desktop.
andres@andres-dev:~$ cat bin/deadead.sh
#!/bin/bash
sudo sync
sudo bash -c '
echo s > /proc/sysrq-trigger;
echo u > /proc/sysrq-trigger;
echo s > /proc/sysrq-trigger;
echo b > /proc/sysrq-trigger;
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment