$ time for i in $(seq 1 100000); do cat /proc/sys/kernel/random/uuid > /dev/null; done
real 3m53,388s
user 1m37,366s
sys 2m13,847s
$ for i in $(seq 1 100000); do cat /proc/sys/kernel/random/uuid ; done | wc -l
100000
vs. uuid 1.6.2-1.5+b11:
$ time for i in $(seq 1 100000); do uuid -v4 > /dev/null; done
real 4m44,854s
user 1m37,867s
sys 3m4,414s
$ for i in $(seq 1 100000); do uuid -v4 ; done | wc -l
100000
Can you explain?
Use for what?
Also it is being seeded, according to the file urandom_min_reseed_secs which is also writeable. Here are the other files:
Would have to be cat /proc/sys/kernel/random/uuid > /dev/null
You can't pipe to a file, only to programs, and since /dev/null isn't an executable your command will simply give an error.
To make it more clear, consider using dd, which lets you explicitly specify an input and output file. For example: dd if=/proc/sys/kernel/random/uuid of=/dev/sda1 wait shit that wasn't the right output oh god oh fu