Bash if
Jump to navigation
Jump to search
Internal
Overview
if <command-that-returns-0-or-non-0>; then # # execute this is the command returned 0 # else # # execute this is the command returned non-0 # fi
if <command-that-returns-0-or-non-0>; then # # execute this is the command returned 0 # else # # execute this is the command returned non-0 # fi