Bash if

Jmnote (토론 | 기여)님의 2017년 6월 21일 (수) 18:21 판 (새 문서: ==개요== ;Bash if <source lang='bash'> He="John Smith" if [ "$He" = "John Smith" ]; then echo "He is John Smith" else echo "He is not John Smith" fi # He is John Smith </source>...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요

Bash if
He="John Smith"
if [ "$He" = "John Smith" ]; then
	echo "He is John Smith"
else
	echo "He is not John Smith"
fi
# He is John Smith

2 같이 보기

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