문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
linux:bash [2020/02/12 09:55] kwon37xi [변수들] |
linux:bash [2020/09/05 14:34] kwon37xi [set -e/+e] |
||
---|---|---|---|
줄 197: | 줄 197: | ||
echo " | echo " | ||
</ | </ | ||
+ | |||
+ | |||
+ | ===== Safe Shell Script ===== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | <code sh> | ||
+ | set -euf -o pipefail | ||
+ | </ | ||
+ | |||
+ | ==== set -e/+e ==== | ||
+ | * '' | ||
+ | * '' | ||
===== 참조 ===== | ===== 참조 ===== | ||
줄 213: | 줄 226: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
- | + | * [[https:// | |
+ | * [[http:// |