首页 > 代码库 > Shell

Shell

#!/bin/bash
#background-loop.sh

for i in 1 2 3 4 5 6 7 8 9 10 #µÚÒ»¸öÑ­»·
do
echo -n "$i"
done& #ÔÚºǫ́ÔËÐÐÕâ¸öÑ­»·


echo #Õâ¸ö‘echo‘ijЩʱºò½«²»»áÏÔʾ.

for i in 11 12 13 14 15 16 17 18 19 20 #µÚ¶þ¸öÑ­»·
do
echo -n "$i"
done

echo #Õâ¸ö‘echo‘ijЩʱºò½«²»»áÏÔʾ.

exit 0

Shell