Quantcast
Channel: Why does dd from /dev/random give different file sizes? - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 5

Why does dd from /dev/random give different file sizes?

$
0
0

I am running the following command on an ubuntu system:

dd if=/dev/random of=rand bs=1K count=2

However, every time I run it, I end up with a file of a different size. Why is this? How can I generate a file of a given size filled with random data?


Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>