天天看点

学习笔记(03):补基础之shell和Makefile-2.2.uboot和系统移植第2部分-2.2.5.shell中的循环结构...

立即学习:https://edu.csdn.net/course/play/2029/31644?utm_source=blogtoedu

shell中的for语句:

for xxx in xx1xx2 xx3 ...

do

        xxxxxxxxx

done

shell中 的while语句:

while [ 判断条件 ]; do

     xxxxxxx

done