摘要: 1,硬件连接2,通过串口连接uboot的方法有三种,cu,minicom和screen。brep@Kylin:~$ cu -l /dev/ttyUSB0 -s 115200cu: open (/dev/ttyUSB0): Permission deniedcu: /dev/ttyUSB0: Line... 阅读全文
posted @ 2016-01-13 16:23 brep 阅读(1084) 评论(0) 推荐(0) 编辑
摘要: 1,测试命令(1) -z 字符串长度为0if [ -z $1 ]then echo "usage: ./test " exit 0fi[ -z string ]用来测试字符串的长度是否为0(2) -b 文件存在,且为块设备(3) -c 文件存在,且为字符设备(4) -f 文件存在,且为普通文件 阅读全文
posted @ 2016-01-13 14:41 brep 阅读(118) 评论(0) 推荐(0) 编辑