shell error "[[: not found" code example Example: [[: not found Try running your bash script in this manner: bash yourscriptname.sh