Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There used to be a thing on SunOS (I think) where you'd get `ping` to write to /dev/audio so you could diagnose network stuff by sound.


You can "ping -a" nowadays to get beeps for each reply, but it's not quite as cool!


You can still do this with /dev/dsp or similar. Might need sudo these days

`cat /dev/urandom > /dev/dsp`


For a more modern approach, try ffplay: cat /dev/urandom | ffplay -f s16le -


thanks this almost crashed my pc


some people learn the hard way that blindly copying and pasting things from the interweb directly to a terminal is not always the best of ideas. some times, they're bloody brilliant


curl $url | bash is probably the only worse culprit.


[flagged]


Some people are just evil.


One of the funnier parameters to encounter in the snoop manpage.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: