Answers for "How to create a file with a given size in Linux?"

1

How to create a file with a given size in Linux?

dd if=/dev/zero of=upload_test bs=1M count=size_in_megabytes
Posted by: Guest on August-17-2021
1

How to create a file with a given size in Linux?

dd if=/dev/zero of=upload_test bs=file_size count=1
Posted by: Guest on August-17-2021

Code answers related to "How to create a file with a given size in Linux?"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language