---
title: "Discussion on \"쉘스크립트 반목분\" | Hashnode"
description: "Discussion on \"쉘스크립트 반목분\". 띄어쓰기로 분리된 요소들 반복\n  #!/bin/bash\n\n  for NAME in \"차례대로\" \"출력\" \"합니다.\"; do\n      echo \"단어 : ${NAME} \"\n  done\n\n\n배열을 사용한 for loop\n  #!/bin/bash\n\n  SENTENCE=( \"괄호로\" \"묶으면\" \"리스트입니다.\" )\n  for WORD in ${SENTENCE[@]}; do\n      echo \"단어 : ${WORD}\"\n  done\n\n\n파이썬이랑 비슷..."
url: "https://hashnode.com/posts/shell-loop/65943d26a013ba692046a798"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [쉘스크립트 반목분](https://blog.aqudi.me/shell-loop?utm_source=hashnode&utm_medium=feed)

띄어쓰기로 분리된 요소들 반복 #!/bin/bash for NAME in "차례대로" "출력" "합니다."; do echo "단어 : ${NAME} " done 배열을 사용한 for loop #!/bin/bash SENTENCE=( "괄호로" "묶으면" "리스트입니다." ) for WORD in ${SENTENCE\[@\]}; do echo "단어 : ${WORD}" done 파이썬이랑 비슷...

Sep 2, 2020 · 1 min read · blog.aqudi.me  
Read the article

-   [#shell-script](https://hashnode.com/tag/shell-script)
-   [#loop](https://hashnode.com/tag/loop)
-   [#til](https://hashnode.com/tag/til)

## Written by

[Taejung Heo](https://hashnode.com/@CloudWhale)

@CloudWhale · Seoul, South Korea

  
[View profile](https://hashnode.com/@CloudWhale)

Software Developer at place where I feel comportable

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
