- Use single quotes around literal strings (for special character) and double around variables, so
echo "$test".
- Don't use backticks, use
$().
CRTDIR=`pwd` ...Do Something cd $CRTDIR
Bash Variable Usages

Seonglae Cho
Seonglae Choecho "$test".$().CRTDIR=`pwd` ...Do Something cd $CRTDIR