Hi I wanted to know if there was a way for a script to know if it has been invoked with the source command. $ cat > test echo $0 <ctrl-d> $ chmod 777 test $ ./test ./test $ . ./test /bin/bash $ So now I know. HTH Jim