Open utterances-bot opened 5 months ago
if문 if-then 가장 기본적인 if-else 구문의 형식은 다음과 같다. if command then commands fi if command; then commands fi bash 쉘은 if문 줄에 정의된 명령을 실행한다. 이 명령의 종료 상태가 0(명령이 성공적으로 완료됨)이라면 then 아래에 있는 명령이 실행된다. 명령의 종료 상태가 0이 아니라면 then 아래에 있는 명령은 실행되지 않고,
https://yangbongsoo.tistory.com/2
자주 쓰는 쉘스크립트 모음
if문 if-then 가장 기본적인 if-else 구문의 형식은 다음과 같다. if command then commands fi if command; then commands fi bash 쉘은 if문 줄에 정의된 명령을 실행한다. 이 명령의 종료 상태가 0(명령이 성공적으로 완료됨)이라면 then 아래에 있는 명령이 실행된다. 명령의 종료 상태가 0이 아니라면 then 아래에 있는 명령은 실행되지 않고,
https://yangbongsoo.tistory.com/2