Search This Blog

Monday, May 2, 2011

Create File Using dd command.

In linux you can create a file and also define its size in advance.
Unlike windows OS when you create the file it get 0 kb as default size ,In linux you can specify the file size .

for example.
#dd if=/dev/zero of=/tmp/Sample.dat bs=1M count=1024

Above command will create a file called Sample.dat of size 1 GB.

For More Information Check .

Please Leave us with your comments and Queries/Suggestions.
I will try to reply asap.

No comments:

Post a Comment