Linux create random data file easily

 


run below command to generate a random data content file in linux:

For 1GB file:

head -c 1G </dev/urandom >myfile

For 1MB file:

head -c 1M </dev/urandom >myfile

No comments:

Post a Comment

how to unlink a NIC from a esxi vSwitch

  List the vSwitches from ESXI using CLI:          esxcli network vswitch standard list  output example: vSwitch0    Name: vSwitch0    Class...