by LinuxBender · 3y ago · 0 comments
base64 /dev/urandom | tr -d '/+'| sed s/[^[:alpha:]]//g |tr 'A-Z' 'a-z' | dd bs=1 count=1 2>/dev/null LC_ALL=C tr -dc 'a-z' </dev/urandom | head -c 1 head -c 1
because sysrq-trigger will read only one character anywayedit - Actually I don't think it closes the input, so for an initial char that doesn't cause something fatal it looks to continue writing.
echo apm > /proc/sysrq-trigger
I'm too scared to test with your urandom stuff...