SyntaxFix
Write A Post
Hire A Developer
Questions
I like to simplify the code without using conditional operators in such cases:
TEMP=/mnt/silo/bin [[ ${PATH} =~ ${TEMP} ]] || PATH=$PATH:$TEMP