Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

[DD] Generating 512MB file using random data

$
0
0
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`
If u did understend what I am talking about, cuz I am a bit confuse, please help me. :confused:

Viewing all articles
Browse latest Browse all 16232

Trending Articles