工作中用到的一些shell命令

1、将十进制转换为十六进制

 for i in `seq 0 127`; do printf "%02x\n" $i; done

posted @ 2013-07-17 11:11  小郭学路  阅读(150)  评论(0编辑  收藏  举报