Bash if true/false

Jmnote (토론 | 기여)님의 2021년 10월 19일 (화) 12:56 판 (새 문서: ==개요== ;Bash if true/false <syntaxhighlight lang='bash' run> A=true if [ $A = true ] then echo true fi </syntaxhighlight> <syntaxhighlight lang='bash' run> A=false if [ $A = tr...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요

Bash if true/false
A=true
if [ $A = true ]
  then echo true
fi
A=false
if [ $A = true ]
  then echo true
fi

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}