In Bash scripts, any command following a && will only execute if the previous conditional or command succeeded (returned 0) The following script will only print out the variable if the conditional succeeds: [[ -z "$1" ]] && echo "$1" On the other han...
dfeury.hashnode.dev1 min read
No responses yet.