Create a file

1)Creates file "myfile" filled with zeros with a block size of 1000 muliplied 10 tens or 10K

dd if=/dev/zero of=myfile bs=1024 count=10

2)Create 0 Byte file (or create batch file)

touch zero /touch 1 2 3 4 5

3)Create file with specify content

cat>>filename
one
two
^D (for exist)

0 comments:

Post a Comment