Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash if then else one line

if [[ CONDITION_STATEMENT ]]; then SOME_CODE; else OTHER_CODE; fi
 
PREVIOUS NEXT
Tagged: #bash #line
ADD COMMENT
Topic
Name
3+1 =