5 ms·
One of those tweets prompted me to type "cat /dev/random" to see what happens. Mild panic as I was assaulted by a million lines of rapidly scrolling random text
by GiveOver 5y ago
One of those tweets prompted me to type "cat /dev/random" to see what happens. Mild panic as I was assaulted by a million lines of rapidly scrolling random text. Not sure what I expected.
- umanwizard 5y agoNot sure if it still works, but catting /dev/random to a sound device used to be a great way to test that your speakers were working by producing ear-splitting static noise.
- hpb42 5y agoYou can: cat /dev/urandom | aplay
- makeworld 5y agocat /dev/urandom | aplay Still works well on my machine, and I use it all the time to test :)
- umanwizard 5y agoAh, neat, but I seem to remember catting it to an actual device node, not to an executable.
- adamnew123456 5y agoYou're thinking of /dev/dsp, which was an OSS thing before the move to ALSA. It still exists on the BSDs AFAIR but has to be emulated on modern Linux: https://unix.stackexchange.com/questions/103746/why-wont-linux-let-me-play-with-dev-dsp https://unix.stackexchange.com/questions/103746/why-wont-lin...
- umanwizard 5y agoYep, that’s the one!
- iamtedd 5y agoA more pleasant method could be: http://kmkeen.com/awk-music/ http://kmkeen.com/awk-music/
- hinkley 5y agoYou're supposed to cat that to someone else's tty and then ask them about their experience.