3 ms·
>> Basically piping from /dev/null Can you actually do that? Why not piping from /dev/zero , heck even /dev/random or /dev/urandom ?
by smlckz 6y ago
>> Basically piping from /dev/null
Can you actually do that?
Why not piping from /dev/zero , heck even /dev/random or /dev/urandom ?
- coldsauce 6y agoyeah, i guess it's incorrect, and probably would be something like /dev/zero
- smlckz 6y agohmm. when reading, /dev/null behaves like an empty file but /dev/zero gives you endless amounts of NUL bytes ('\0') ; iirc and the /dev/random and /dev/urandom gives you endless amounts of random bytes, but there is a subtle difference between those random sources.