Listing B: Sample start and stop script
------ begin script -----------
#!/bin/ksh
# script to start/stop netscape
case $1 in
    "start")
    cd /local1/suitespot/https-server1
    ./start
    ;;
    "stop")
    cd /local1/suitespot/https-server1
    ./stop
    ;;
    *)
    echo "\007usage: netscape <start|stop>"
    exit 1
esac
------ end script -----------