天天看點

學習筆記(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