[DD] Generating 512MB file using random data

view story

http://www.unix.com – Hello. Could anyone help me with my little annoying problem? I have to generate a 512 MB file made up with random data using DD. After some internet digging I found out that the command is: Code: dd if=/dev/urandom of=/exemple/file bs=512MB After running this command the shell is not responding anymore, so I have to hit ctrl + z to end the process. Why does it freeze? I need to be able to run ps to see the dd's proces PID because meanwhile the dd is running, I have to check the progress using some strange command: Code:   kill -USR1 `pidof dd` I (HowTos)