[Bash] Ternary operator in Bash echo $([ ${UID} == 501 ] && echo "true" || echo "false") IT 2019.02.06