Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi schaney,
> nope. It can't recognize echo. Any idea why the script wouldn't work? This sounds weird ... I ran the following script without any problems:#!/bin/sh
echo "Content-type:text/html\n\n"
echo "The cgi script is working\n" Here are a few things to check: 1. Try the following command: $ echo $PATH If this doesn't work ... you're probably missing 'echo'. 2. Check your PATH environment If the PATH env var doesn't include the directory where echo actually is, you'll either need to add the full path to your script, or setup PATH in your /etc/rc file. Or from the command line: $ export PATH=$PATH:<path to echo> Then try running the script again. Regards, --Scott