Categories
Tags
aastra apache asterisk centos cheatsheet chrome cisco comic dd dropbox email esxi fedora file sharing find gmail gnome google grep im feeling lucky linux migration networking olf openfiler openoffice replace rpl scm search security sed sp3 spyware ssh storage subversion tips tomcat twitter ubuntu vmware voip windowsArchives
Creating empty files in Linux
I had a need for several files of various sizes to do some network testing with. I found a very good us for
ddhere.dd if=/dev/zero of=10mb-file.bin bs=1024k count=nUsing the above command (and replacing n for a value) allows the creation of empty files with the size specificed. Need a 10Mb file, n = 10. Need a 100Mb file… n = 100. You get the idea.
Related posts:
Related posts brought to you by Yet Another Related Posts Plugin.