Cristian Ionescu-Idbohrn wrote: > > if [[ `$SHELL -c true 2>&1` != "" ]]; then > > Or maybe even: > > if [ "$($SHELL -c : 2>&1)" ]; then I believe backtick is more compatible than $() even though I do prefer the latter. I'm spoilt with bash everywhere though. //Peter