Bash check platform Bash check platform Back if [ "$(uname)" == "Darwin" ]; then # Darwin logic else # Other logic fi