LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to make file (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-make-file-416487/)

dudulz 02-17-2006 08:45 AM

How to make file
 
i'm so confuse , how to make file but that file have size. Example file1 is 2M, file2 1M. give me example for it. I have read manual of dd but file not created, my command is dd bs=2M

Lazarus 02-17-2006 09:35 AM

try:-

dd if=/dev/zero of=your_file_name bs=512 count=4000

that will make a 2Mbyte file full of zeroes.

try man dd for more info.


All times are GMT -5. The time now is 07:48 AM.