Linux shell programming string compare syntax ... if [ "$NAME" = "user" ] then echo "your name is user" fi ... Google "bash compare strings": ...
stackoverflow.com