2022-04-22 Shell_script_4
IF CASE DO-WHILE UNTIL while이랑 다른 점 : To execute commands in “command-list” as long as “expression” evaluates to false 조건이 거짓일 경우 반복문 수행. FOR SELECT BREAK & CONTINUE FUNTION 선언이 호출보다 먼저 있어야 한다. LOCAL VARIABLES IN FUNC
IF CASE DO-WHILE UNTIL while이랑 다른 점 : To execute commands in “command-list” as long as “expression” evaluates to false 조건이 거짓일 경우 반복문 수행. FOR SELECT BREAK & CONTINUE FUNTION 선언이 호출보다 먼저 있어야 한다. LOCAL VARIABLES IN FUNC
Shell script 예제 강의 시간에 배운 예제를 중심으로 이해해보자. read 이름을 묻고 성과 이름으로 나눠 출력한다. if if [ ] syntax 조건절에 사용될 수 있는 옵션들 기능 Numeric String Greater than -gt Greater than or equal -ge Less than -lt Less than or equal -le Equal -eg =, == Not equal … 더 읽기