摘要:
项目中需要创建一个二进制文件,文件大小为512kb,文件的每一个字节初始化为0xff,没找到比较方便的工具,就l写了个shell脚本,顺便熟悉下shell编程。#!/bin/bash# author: lizhi <ddgooo@hotmail.com># date: 2012-09-25-11:33# file: create-my-file.sh# description: create binary file and init dada and size; # eg. size:1KB name:test file created by command:# ... 阅读全文
posted @ 2012-09-29 14:41
ddgooo
阅读(227)
评论(0)
推荐(0)
浙公网安备 33010602011771号