주 메뉴 열기

wwiki β

Bash

Jhkim (토론 | 기여)님의 2019년 3월 24일 (일) 16:13 판 (if)

script syntax

if

if [ -z "$1" ] && [ -z "$2" ]

then

  somecode1

elif [ "$1" = "run" ]; then

  somecode

else

  somecode2

fi

단축키

alt+d: 커서부터 오른쪽 단어 삭제