Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tptacek
· 1y ago · 0 comments
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.
Comments
[–]
schoen
1y ago
You can "ping -a" nowadays to get beeps for each reply, but it's not quite as cool!
[–]
monster_truck
1y ago
You can still do this with /dev/dsp or similar. Might need sudo these days
`cat /dev/urandom > /dev/dsp`
[–]
rfl890
1y ago
For a more modern approach, try ffplay: cat /dev/urandom | ffplay -f s16le -
[–]
jdthedisciple
1y ago
thanks this almost crashed my pc
[–]
dylan604
1y ago
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
[–]
dgfitz
1y ago
curl $url | bash is probably the only worse culprit.
[–]
fuddy
1y ago
One of the funnier parameters to encounter in the snoop manpage.