For loop

리눅스의 shell에서 for 문 돌리기

for ((  i = 0 ;  i <= 5;  i++  ))
do
echo "Welcome $i times"
done

i를 0에서 5까지 출력.

2009년 1월 7일 update
위와 같은 방법으로 0에서 100까지 5씩 증가하는 값 찍기

for ((  i = 0 ;  i <= 100;  i=i+5  ))
do
echo "Welcome $i times"
done


크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by gwlee

2009/01/07 19:02 2009/01/07 19:02
,
Response
0 Trackbacks , 0 Comments
RSS :
http://thegreatgoodplace.com/tt/study/rss/response/57

Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/57

Leave a comment
« Previous : 1 : ... 72 : 73 : 74 : 75 : 76 : 77 : 78 : 79 : 80 : ... 128 : Next »

블로그 이미지

gwLee's Study story

- gwlee



Site Stats

Total hits:
50084
Today:
8
Yesterday:
83