$ cat ~/bin/nc #!/bin/sh pwd=`pwd` if [ $(echo $1 | egrep ^/) ]; then netscape -remote "openURL(file:$1)" else netscape -remote "openURL(file:$pwd/$1)" fi $ nc doc/uguide/tomcat_ug.html communicator-4_61_bin: root window has no children on display astra.sharmas.org:0.0